Skip to content

Commit ecfdfe0

Browse files
committed
Remove double build in CI/CD
We run `build` during `npm prepare`, which means it's already run implicitly during the `npm ci` step that already exists in these jobs.
1 parent de1979b commit ecfdfe0

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ jobs:
2828
node-version: "lts/*"
2929
registry-url: "https://registry.npmjs.org"
3030
- run: npm ci
31-
- run: npm run build
3231
- run: npm publish

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ jobs:
3636
- name: Install Node.js dependencies
3737
run: npm ci
3838

39-
- name: Build JavaScript library
40-
run: npm run build
41-
4239
- name: Run tests
4340
run: npm test
4441

0 commit comments

Comments
 (0)