Skip to content

Commit b813d40

Browse files
fix ci-4
1 parent 45e7667 commit b813d40

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- master
66

77
env:
8-
PROJECT_TOKEN: 1868537#0465f107-cb19-470b-80b3-ccdf3fe9a263#cypress
8+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
99

1010
jobs:
1111
smartui-gihub-action:
@@ -17,7 +17,6 @@ jobs:
1717
- name: Find Last CommitId
1818
run: |
1919
API_HOST=https://api.github.com
20-
2120
# Check out the PR branch
2221
git checkout $GITHUB_HEAD_REF
2322
# Get the commit ID of the last commit
@@ -30,13 +29,13 @@ jobs:
3029
- name: Install Dependencies
3130
run: |
3231
npm install
33-
npm install @lambdatest/smartui-storybook@1.1.18 -g
32+
npm install @lambdatest/smartui-storybook -g
3433
3534
- name: Create storybook static build
3635
run: npm run build-storybook
3736

3837
- name: Execute storybook build
3938
run: |
40-
smartui --version
39+
smartui --version
4140
smartui config create .smartui.json
4241
smartui storybook ./storybook-static --config .smartui.json

src/stories/Header.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const Header = ({ user, onLogin, onLogout, onCreateAccount }) => (
2424
/>
2525
</g>
2626
</svg>
27-
<h1>Changes for Github PR 6</h1>
27+
<h1>Changes for Github PR</h1>
2828
</div>
2929
<div>
3030
{user ? (
@@ -55,3 +55,4 @@ Header.propTypes = {
5555
Header.defaultProps = {
5656
user: null,
5757
};
58+

0 commit comments

Comments
 (0)