Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 761ef4c

Browse files
committedNov 23, 2020
Simplifying jobs
1 parent bcbc0ba commit 761ef4c

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed
 

‎.github/workflows/validation.yml

+5-19
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
name: Validation
1+
name: Lint and Tests
22

33
on: push
44

55
jobs:
6-
lint:
7-
name: Linting
8-
runs-on: ubuntu-latest
9-
steps:
10-
- uses: actions/checkout@master
11-
- name: Use Node.js 12.x
12-
uses: actions/setup-node@v1
13-
with:
14-
node-version: 12.x
15-
- name: Install dependencies
16-
run: |
17-
npm install
18-
- name: ESLint
19-
run: npm run lint
20-
21-
test:
22-
name: Run unit tests
6+
validation:
237
runs-on: ubuntu-latest
248
steps:
259
- uses: actions/checkout@master
@@ -30,7 +14,9 @@ jobs:
3014
- uses: bahmutov/npm-install@v1.4.5
3115
- name: Install dependencies
3216
run: npm install
33-
- name: Mocha
17+
- name: Lint
18+
run: npm run lint
19+
- name: Tests
3420
run: npm run test:only
3521
- name: Upload coverage to Codecov
3622
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)
Please sign in to comment.