Skip to content

Commit

Permalink
Replace cache action usage with setup-node cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknovitski committed Sep 9, 2024
1 parent 41773e1 commit 7b3cb4a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/node_modules
key: ${{ runner.OS }}-${{ matrix.node-version}}-node_modules-${{ hashFiles('yarn.lock') }}
cache: yarn
- run: yarn --frozen-lockfile
- run: yarn add -D @types/node@${{ matrix.node-version }}
- run: yarn tsc
Expand Down

0 comments on commit 7b3cb4a

Please sign in to comment.