Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

chore: switch standard to eslint (#203) #251

chore: switch standard to eslint (#203)

chore: switch standard to eslint (#203) #251

Workflow file for this run

# Test with all supported node versions.
name: Test
# https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/2
on:
push:
branches:
- main
paths-ignore:
- '*.md'
pull_request:
branches:
- main
paths-ignore:
- '*.md'
jobs:
test-vers:
strategy:
fail-fast: false
matrix:
node: ['8.6', '8', '10', '12', '14', '15', '16', '18', '19', '20']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
# What Node.js version to test on Windows is a balance between which
# is the current LTS version (https://github.com/nodejs/release) and
# which version more of our users are using.
node-version: 16
- run: npm install
- run: npm test