Skip to content

Commit 5991d32

Browse files
Added linting to the CI pipeline
1 parent 813a9d4 commit 5991d32

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/cicd.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
pull_request:
66

77
jobs:
8-
test:
8+
ci:
9+
name: Continuous Integration
910
runs-on: ubuntu-latest
1011
strategy:
1112
matrix:
@@ -18,10 +19,11 @@ jobs:
1819
node-version: ${{ matrix.node-version }}
1920
- run: npm ci
2021
- run: npm test
21-
publish:
22-
name: Publish
22+
- run: npm run lint
23+
cd:
24+
name: Continuous Deployment
2325
runs-on: ubuntu-latest
24-
needs: test
26+
needs: ci
2527
if: startsWith(github.ref, 'refs/tags/v')
2628
steps:
2729
- name: Checkout the repository

0 commit comments

Comments
 (0)