Skip to content

Commit

Permalink
fix(tooling): add-yarn-version
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreyasSharma28 committed Oct 23, 2024
1 parent a405787 commit 0c7bb4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.13.1
cache: 'yarn'
yarn-version: '4.5.0'

- name: Clean yarn cache
run: yarn cache clean

- name: Initialize dependencies
run: yarn install
run: yarn install --frozen-lockfile

- name: Cache Dependencies
uses: actions/cache@v3
Expand Down Expand Up @@ -66,7 +68,7 @@ jobs:
env:
JEST_JUNIT_OUTPUT_NAME: js-jest-results.xml
JEST_JUNIT_OUTPUT_DIR: reports/junit/jest
run: yarn run jest --reporters="jest-junit"
run: yarn workspaces foreach -A run test:unit

- name: Upload Jest test results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 0c7bb4b

Please sign in to comment.