Skip to content

Commit d6f7eba

Browse files
committed
chore: fix ci script
1 parent 43f4dca commit d6f7eba

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
1-
language : node_js
2-
node_js :
3-
- 14
4-
install:
5-
- npm install
6-
script:
7-
- npm run build
8-
- npm run lint
9-
- npm run test
10-
11-
# Send coverage data to Coveralls
12-
after_script: npm run coverage
1+
name: Node.js CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Use Node.js
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: '14.x'
16+
- run: npm ci
17+
- run: npm run lint
18+
- run: npm run build
19+
- run: npm run test
20+
- after_script: npm run coverage
21+
env:
22+
CI: true

0 commit comments

Comments
 (0)