Skip to content

Commit 5a0d5c9

Browse files
committed
chore: modify coveralls script
1 parent e0a65b4 commit 5a0d5c9

File tree

5 files changed

+28
-9179
lines changed

5 files changed

+28
-9179
lines changed

.github/workflows/coverage.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,24 @@ env:
99
CI: true
1010

1111
jobs:
12-
test:
13-
name: '🚀 Publish'
12+
build:
13+
name: Build
1414
runs-on: ubuntu-latest
15-
1615
steps:
17-
- name: Clone repository
18-
uses: actions/checkout@v2
1916

20-
- name: Set Node.js version
21-
uses: actions/setup-node@v1
22-
with:
23-
node-version: '14'
17+
- uses: actions/checkout@v1
2418

25-
- name: Install npm dependencies
26-
run: npm install
19+
- name: Use Node.js 14
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: 14
2723

28-
- name: Run lint
29-
run: npm run lint
24+
- name: npm install, make test-coverage
25+
run: |
26+
npm install
27+
npm run test:coveralls
3028
31-
- name: Run tests
32-
run: npm run test:coveralls
33-
34-
- name: Coveralls
35-
uses: coverallsapp/github-action@master
36-
with:
37-
github-token: ${{secrets.GITHUB_TOKEN}}
38-
parallel: true
29+
- name: Coveralls
30+
uses: coverallsapp/github-action@master
31+
with:
32+
github-token: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ build/
55
yarn-error.log
66
yarn.lock
77

8-
npm-debug.log
8+
npm-debug.log
9+
10+
.coveralls.yml

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)