Skip to content

switch to master

switch to master #237

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: node_modules
key: ${{ matrix.node-version }}-node-${{ hashFiles('**/package-lock.json') }}
- name: npm install, build, and test
run: |
npm ci
npm test
env:
CI: true