Skip to content

Commit e5b8c99

Browse files
committed
Update GitHub Actions workflow to install dependencies before building and running tests, ensuring consistent environment setup.
1 parent 5b76900 commit e5b8c99

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ jobs:
1414
- name: Setup Node.js
1515
uses: actions/setup-node@v4
1616

17+
- name: Install dependencies
18+
run: yarn install
19+
1720
- name: Build coverage addon
1821
run: |
19-
yarn install
2022
yarn build
2123
2224
- name: Run tests in webpack example
2325
run: |
24-
yarn install
26+
yarn install --immutable false
2527
npx playwright install --with-deps
2628
yarn test-storybook:ci-coverage
2729
working-directory: examples/webpack5
2830

2931
- name: Run tests in vite example
3032
run: |
31-
yarn install
33+
yarn install --immutable false
3234
npx playwright install --with-deps
3335
yarn test-storybook:ci-coverage
3436
working-directory: examples/vite

0 commit comments

Comments
 (0)