Skip to content

ci(action): update actions/checkout action to v4 (#297) #869

ci(action): update actions/checkout action to v4 (#297)

ci(action): update actions/checkout action to v4 (#297) #869

Workflow file for this run

name: Test
"on":
push:
branches:
- main
- dependabot/npm_and_yarn/**
pull_request:
types:
- opened
- synchronize
jobs:
test_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- 10
- 12
- 14
steps:
- uses: actions/checkout@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: npx tap 'test/*.js'
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: 16
- run: npm ci
- run: npm run lint