Skip to content

Commit a1dc389

Browse files
JavierCaneismanapa
andcommitted
ci: unify lint and tests workflows in order to speed-up feedback loop
Co-authored-by: ismanapa <[email protected]>
1 parent bb90692 commit a1dc389

File tree

2 files changed

+11
-34
lines changed

2 files changed

+11
-34
lines changed
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
name: test
1+
name: CI
22

33
on: push
44

55
jobs:
66
unit:
77
runs-on: ubuntu-latest
8-
8+
name: 🚀 Lint and test
9+
timeout-minutes: 5
910
steps:
10-
- uses: actions/checkout@v2
11+
- name: 👍 Checkout
12+
uses: actions/checkout@v2
1113

12-
- name: Cache node modules
14+
- name: 📦 Cache node modules
1315
uses: actions/cache@v2
1416
env:
1517
cache-name: cache-node-modules
@@ -21,8 +23,11 @@ jobs:
2123
${{ runner.os }}-build-
2224
${{ runner.os }}-
2325
24-
- name: Install Dependencies
26+
- name: 📥 Install dependencies
2527
run: npm install
2628

27-
- name: Test
29+
- name: 💅 Lint code style
30+
run: npm run lint
31+
32+
- name: ✅ Run tests
2833
run: npm run test

.github/workflows/lint.yml

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

0 commit comments

Comments
 (0)