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
| name: CI
| on:
| push:
| branches: [master]
| pull_request:
| branches: [master]
| types: [opened, reopened, synchronize]
| jobs:
| test:
| name: Tests
| strategy:
| fail-fast: true
| matrix:
| node: [4, 6, 8, 10, 12, 14]
| runs-on: ubuntu-latest
| steps:
| - name: Checkout
| uses: actions/checkout@v2
| - name: Install Node.js
| uses: actions/setup-node@v2-beta
| with:
| node-version: ${{ matrix.node }}
| - name: Install dependencies
| run: npm install
| - name: Test
| run: npm test
|
|