forked from conventional-changelog/conventional-changelog
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (44 loc) · 1.18 KB
/
ci.yaml
File metadata and controls
44 lines (44 loc) · 1.18 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
on:
push:
branches:
- master
pull_request:
types: [ assigned, opened, synchronize, reopened, labeled ]
name: ci
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12, 14]
steps:
- uses: actions/checkout@v2
- run: git config --global user.name 'CI'
- run: git config --global user.email 'dummy@example.org'
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm install --engine-strict
- run: npm test
- name: coverage
uses: codecov/codecov-action@v2
with:
name: actions ${{ matrix.node }}
fail_ci_if_error: true
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: git config --global user.name 'CI'
- run: git config --global user.email 'dummy@example.org'
- uses: actions/setup-node@v2
with:
node-version: 12
- run: npm install --engine-strict
- run: npm run test-windows
- name: coverage
uses: codecov/codecov-action@v2
with:
name: actions windows
fail_ci_if_error: true