Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Nov 29, 2024
1 parent 4913087 commit 60f0812
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
with:
node-version: 'lts/*'

- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: js/node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Install Yarn
run: corepack enable

Expand Down

0 comments on commit 60f0812

Please sign in to comment.