Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5857381

Browse files
committed
Update GitHub CI workflows
1 parent 1803d61 commit 5857381

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed

‎.github/workflows/lint.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Linting
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
name: Static code analysis
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '12'
14+
- run: npm install
15+
- run: npx run-p check:*

‎.github/workflows/nodejs.yml‎

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,28 @@ on: [push]
44

55
jobs:
66
test:
7-
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
7+
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
node_version: [10, 12]
11+
node_version: [10, 12, 13]
1212
os: [ubuntu-latest, windows-latest]
1313

1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v2
1616
- name: Use Node.js ${{ matrix.node_version }}
1717
uses: actions/setup-node@v1
1818
with:
19-
version: ${{ matrix.node_version }}
20-
21-
- name: npm install, build and test
22-
run: |
23-
npm install
24-
npm run build --if-present
25-
npm test
19+
node-version: ${{ matrix.node_version }}
20+
- run: npm install
21+
- run: npx run-s test:*
22+
- name: Coveralls Parallel
23+
uses: coverallsapp/github-action@master
24+
with:
25+
github-token: ${{ secrets.github_token }}
26+
parallel: true
27+
- name: Coveralls Finished
28+
uses: coverallsapp/github-action@master
29+
with:
30+
github-token: ${{ secrets.github_token }}
31+
parallel-finished: true

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /