chore(deps): bump actions/cache from 4.3.0 to 5.0.2 #196
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| env: | |
| YARN_ENABLE_GLOBAL_CACHE: false | |
| jobs: | |
| chore: | |
| name: "Testing chores" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version: lts/* | |
| env: | |
| SKIP_YARN_COREPACK_CHECK: 1 | |
| - name: Get the Yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 | |
| with: | |
| path: ${{steps.yarn-cache-dir-path.outputs.dir}} | |
| key: ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}} | |
| restore-keys: | | |
| ${{runner.os}}-yarn- | |
| - run: corepack yarn install --immutable | |
| - run: corepack yarn test |