Skip to content

Commit da38d0e

Browse files
committed
fix workflows
1 parent 2e8a896 commit da38d0e

File tree

7 files changed

+527
-1497
lines changed

7 files changed

+527
-1497
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ jobs:
77
runs-on: ubuntu-latest
88
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
99
steps:
10-
- uses: actions/checkout@v2
11-
10+
- uses: actions/checkout@v3
11+
12+
- name: Enable Corepack
13+
run: corepack enable
14+
1215
- name: Prepare repository
1316
run: git fetch --unshallow --tags
1417

15-
- name: Use Node.js 18.x
16-
uses: actions/setup-node@v1
17-
with:
18-
node-version: 18.x
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
1920

2021
- name: Install dependencies
2122
uses: bahmutov/npm-install@v1

.github/workflows/test.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on: [push, pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
node-version: [18.x]
118
steps:
129
- uses: actions/checkout@v4
10+
11+
- name: Enable Corepack
12+
run: corepack enable
1313

1414
- name: Setup Node.js
1515
uses: actions/setup-node@v4
@@ -21,15 +21,11 @@ jobs:
2121
run: npx playwright install --with-deps
2222

2323
- name: Run tests in webpack example
24-
run: |
25-
yarn build
26-
yarn test-storybook:ci-coverage
24+
run: yarn test-storybook:ci-coverage
2725
working-directory: examples/webpack5
2826

2927
- name: Run tests in vite example
30-
run: |
31-
yarn build
32-
yarn test-storybook:ci-coverage
28+
run: yarn test-storybook:ci-coverage
3329
working-directory: examples/vite
3430

3531
- name: Generate code coverage

.yarn/install-state.gz

-31 Bytes
Binary file not shown.

examples/vite/.yarn/install-state.gz

723 Bytes
Binary file not shown.
-104 KB
Binary file not shown.

examples/webpack5/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"webpack-dev-server": "latest"
3232
},
3333
"devDependencies": {
34-
"concurrently": "^9.1.0",
3534
"@storybook/addon-coverage": "link:../..",
3635
"@storybook/addon-essentials": "^8.4.7",
3736
"@storybook/addon-interactions": "^8.4.7",
@@ -40,6 +39,7 @@
4039
"@storybook/react-webpack5": "^8.4.7",
4140
"@storybook/test": "^8.4.7",
4241
"@storybook/test-runner": "^0.21.0",
42+
"concurrently": "^9.1.0",
4343
"storybook": "^8.4.7",
4444
"wait-on": "^8.0.1"
4545
}

0 commit comments

Comments
 (0)