filer/.github/workflows/node-js-ci.yml

28 lines
524 B
YAML
Raw Normal View History

2021-02-20 16:14:07 +00:00
name: node-js-ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
2021-10-19 20:49:44 +00:00
node: ['14', '16']
2021-02-20 16:14:07 +00:00
name: Node ${{ matrix.node }} on ${{ matrix.os }}
2021-02-20 16:14:07 +00:00
steps:
- uses: actions/checkout@v2
- name: Test
uses: actions/setup-node@v2.4.1
2021-02-20 16:14:07 +00:00
with:
node-version: ${{ matrix.node }}
2021-02-20 16:14:07 +00:00
- run: npm install
- run: npm test