Skip to content

Commit

Permalink
Update cache for npm in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemish Gopani committed Jul 14, 2024
1 parent 3249748 commit a5b0a0d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,14 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
node-version: 18.x
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn test

0 comments on commit a5b0a0d

Please sign in to comment.