Skip to content

Commit fa904fd

Browse files
Added a build step to the CI/CD workflow
1 parent 01ec75f commit fa904fd

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
- name: Run linter
4747
run: npm run lint
4848

49+
- name: Build the code
50+
run: npm run build
51+
4952
- name: Run tests
5053
run: npm run coverage
5154

@@ -83,6 +86,12 @@ jobs:
8386
with:
8487
node-version: ${{ matrix.node }}
8588

89+
- name: Install dependencies
90+
run: npm ci
91+
92+
- name: Build the code
93+
run: npm run build
94+
8695
- name: Publish to NPM
8796
uses: ./
8897
with:
File renamed without changes.

0 commit comments

Comments
 (0)