Skip to content

Commit

Permalink
#36 Trying with setup-node@v4, it will probably set cache now.
Browse files Browse the repository at this point in the history
  • Loading branch information
krckyboy committed Mar 17, 2024
1 parent 0669147 commit 3ac2b95
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ jobs:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Cache node modules
uses: actions/cache@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: '20'
cache: 'npm'

- name: Install Dependencies
run: npm ci
Expand Down

0 comments on commit 3ac2b95

Please sign in to comment.