Skip to content

Replace Circle CI with Github Actions #2

Replace Circle CI with Github Actions

Replace Circle CI with Github Actions #2

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
node: [ 12, 14, 16, 18, 20 ]
name: Test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm install
- name: Test
run: npm test