Skip to content

Commit

Permalink
Bump GitHub workflow action actions/setup-node@v4, use action npm c…
Browse files Browse the repository at this point in the history
…aching method
  • Loading branch information
magnetikonline committed Mar 22, 2024
1 parent 5db763f commit 270f43c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: npm
node-version: 16.x
- name: Setup Node.js modules cache
uses: actions/cache@v3
with:
path: |
~/.npm
key: ${{ runner.os }}-nodejs-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-nodejs-
- name: Install npm packages
run: npm ci
- name: Lint
Expand Down

0 comments on commit 270f43c

Please sign in to comment.