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

28 lines
540 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
2021-03-20 15:48:00 +00:00
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
2021-02-20 16:14:07 +00:00
steps:
- uses: actions/checkout@v2
- name: Test
uses: actions/setup-node@v2.1.5
2021-02-20 16:14:07 +00:00
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test