2019-08-16 12:56:27 +03:00
|
|
|
name: Node CI
|
|
|
|
|
2020-05-21 01:30:15 +03:00
|
|
|
on: [push]
|
2019-08-16 12:56:27 +03:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-05-16 17:02:10 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
|
2019-08-16 12:56:27 +03:00
|
|
|
steps:
|
2022-05-16 17:02:10 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Node.js 14.x
|
|
|
|
uses: actions/setup-node@v1
|
2019-08-16 12:56:27 +03:00
|
|
|
with:
|
2022-05-16 17:02:10 +03:00
|
|
|
node-version: 14.x
|
2019-08-16 12:56:27 +03:00
|
|
|
- name: npm install, build, and test
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
npm test
|
2020-05-21 01:29:02 +03:00
|
|
|
env:
|
|
|
|
CI: true
|