Skip to content

Commit

Permalink
Add npm cache to GitHub Actions node setup
Browse files Browse the repository at this point in the history
This commit introduces npm caching within the Github Actions setup in "node.js.yml". This should help in speeding up subsequent builds by storing dependencies that need not be refetched.
  • Loading branch information
josch87 committed Jun 2, 2024
1 parent b57f950 commit 45ebc4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
working-directory: ./frontend
- run: npm run build --if-present
Expand Down

0 comments on commit 45ebc4e

Please sign in to comment.