Skip to content

Refactor GitHub Actions workflows #30

Refactor GitHub Actions workflows

Refactor GitHub Actions workflows #30

Workflow file for this run

name: test
on:
pull_request:
branches:
- master
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [14, 16, 18]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
cache: 'npm'
- run: npm install
- run: npm test