Skip to content

Commit a73fd6b

Browse files
committed
Add build step to GitHub Actions workflows
1 parent 18ec6b8 commit a73fd6b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
cd nodejs-compressor
2222
npm ci
2323
24+
- name: Build package
25+
run: |
26+
cd nodejs-compressor
27+
npm run build
28+
2429
- name: Run tests
2530
run: |
2631
cd nodejs-compressor

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
cd nodejs-compressor
2828
npm ci
2929
30+
- name: Build package
31+
run: |
32+
cd nodejs-compressor
33+
npm run build
34+
3035
- name: Run tests
3136
run: |
3237
cd nodejs-compressor

0 commit comments

Comments
 (0)