Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Enable dependency caching in GitHub Actions workflow CI
Browse files Browse the repository at this point in the history
  • Loading branch information
svenmuennich committed May 7, 2024
1 parent e4c3561 commit c2015ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm ci
- run: npm run eslint
- run: npm run cspell
Expand All @@ -23,6 +25,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
cache-dependency-path: 'package-lock.json'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish --access public
Expand Down

0 comments on commit c2015ec

Please sign in to comment.