-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 810 Bytes
/
Copy pathnodejs.yml
File metadata and controls
35 lines (31 loc) · 810 Bytes
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
name: Continuous integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master, 1.x ]
schedule:
- cron: '0 2 * * *'
jobs:
Runner:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
node-version: [ 8, 10, 12, 14, 16 ]
steps:
- name: Checkout Git Source
uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm i -g npminstall@5 && npminstall
- name: Continuous integration
run: npm run ci
- name: Code Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}