-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.08 KB
/
ci.yaml
File metadata and controls
52 lines (42 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
name: CI
on: [ push ]
jobs:
build-and-test:
name: "Build and Test"
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
# NO: 'stable'
# NO: from 'dist-tags'; 'v8-lts'
- 8
- 10
- 12
- 14
# be polite
max-parallel: 2
# be thorough
fail-fast: false
steps:
# - name: OS Packages
# run: >
# sudo apt-get update;
- uses: actions/checkout@v2
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: "${{ matrix.node-version }}"
# NOTE: unnecessary; future reference
check-latest: true
architecture: x64
- name: Install
run: >
npm install
- name: CI
run: >
make ci
# NOTE: unnecessary; future reference
env:
NODE_ENV: test