Skip to content

Commit

Permalink
Run npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 6, 2023
1 parent b624375 commit 33a905b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
./chrome.dockerfile
./docker-compose-wsl2.yml
./jest.config.js
./node_modules/
./package.json
./package-lock.json
./packages/bundle/dist/
./packages/test/harness/
./packages/test/page-object/dist/
Expand Down Expand Up @@ -132,6 +133,8 @@ jobs:

- run: rm docker.zip

- run: npm clean-install

- name: Run docker-compose build
run: docker-compose -f docker-compose-wsl2.yml build --build-arg REGISTRY=mcr.microsoft.com/mirror/docker/library

Expand All @@ -140,14 +143,7 @@ jobs:

- name: Run jest@${{ env.jest-version }} --shard=${{ format('{0}/{1}', matrix.shard-index, matrix.shard-count) }}
run: |
npx \
--package jest@${{ env.jest-version }} \
--package @babel/plugin-transform-runtime \
--package @babel/preset-env \
--package @babel/preset-react \
--package @babel/preset-typescript \
--package babel-jest@${{ env.jest-version }} \
jest \
./node_modules/.bin/jest \
--bail=20 \
--ci \
--coverage true \
Expand Down

0 comments on commit 33a905b

Please sign in to comment.