Skip to content

Commit 711204f

Browse files
committedDec 28, 2020
Update CI workflow.
1 parent 3bc8f10 commit 711204f

File tree

2 files changed

+35
-37
lines changed

2 files changed

+35
-37
lines changed
 

‎.github/workflows/CI.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [ 14.x ]
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
20+
- name: Setup Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Install dependencies
26+
run: npm i
27+
28+
- name: Run linting
29+
run: npm run lint
30+
31+
- name: Run tests
32+
run: npm run coverage
33+
34+
- name: Upload coverage to Codecov
35+
uses: codecov/codecov-action@v1

‎.github/workflows/ci.yml

-37
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.