Skip to content

Commit

Permalink
Upgrade GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni committed Dec 23, 2023
1 parent 5c4d0c8 commit 1b7364f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,19 @@ jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5

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

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- name: Install
run: npm ci
- name: Lint
Expand Down

0 comments on commit 1b7364f

Please sign in to comment.