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 c8d1b0e
Show file tree
Hide file tree
Showing 2 changed files with 6 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
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ checksumBehavior: update
nodeLinker: node-modules

npmRegistryServer: "https://registry.npmjs.org"

yarnPath: .yarn/releases/yarn-4.5.0.cjs

0 comments on commit c8d1b0e

Please sign in to comment.