File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,14 @@ jobs:
2424 uses : actions/setup-node@v3
2525 with :
2626 node-version : 20.13.1
27+ cache : ' yarn'
28+ yarn-version : ' 4.5.0'
2729
2830 - name : Clean yarn cache
2931 run : yarn cache clean
3032
3133 - name : Initialize dependencies
32- run : yarn install
34+ run : yarn install --frozen-lockfile
3335
3436 - name : Cache Dependencies
3537 uses : actions/cache@v3
6668 env :
6769 JEST_JUNIT_OUTPUT_NAME : js-jest-results.xml
6870 JEST_JUNIT_OUTPUT_DIR : reports/junit/jest
69- run : yarn run jest --reporters="jest-junit"
71+ run : yarn workspaces foreach -A run test:unit
7072
7173 - name : Upload Jest test results
7274 uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ checksumBehavior: update
33nodeLinker : node-modules
44
55npmRegistryServer : " https://registry.npmjs.org"
6+
7+ yarnPath : .yarn/releases/yarn-4.5.0.cjs
You can’t perform that action at this time.
0 commit comments