Skip to content

ci(action): update actions/setup-node action to v4 (#42) #73

ci(action): update actions/setup-node action to v4 (#42)

ci(action): update actions/setup-node action to v4 (#42) #73

Workflow file for this run

name: Test
"on":
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
test_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- "14"
- "16"
- "18"
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: npm
- run: npm ci
- run: npm test
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- run: echo ok