Skip to content

Commit 8b22fde

Browse files
feat(ci): enable skipping build during prepack step
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
1 parent fd236d9 commit 8b22fde

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ jobs:
187187
needs:
188188
- meta
189189
- test-npm-release
190+
environment:
191+
PREPACK_SKIP_BUILD: "true"
190192
steps:
191193
# NOTE: we need to checkout to pull npmrc
192194
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"test": "mocha -u tdd test/test.js --timeout 120000",
3535
"test:release": "mocha -u tdd test/test.js --timeout 120000",
3636
"test:weval": "cross-env WEVAL_TEST=1 mocha -u tdd test/test.js --timeout 120000",
37-
"test:debug": "cross-env DEBUG_TEST=1 mocha -u tdd test/test.js --timeout 120000"
37+
"test:debug": "cross-env DEBUG_TEST=1 mocha -u tdd test/test.js --timeout 120000",
38+
"prepack": "node scripts/prepack.mjs"
3839
},
3940
"files": [
4041
"lib/interfaces",

0 commit comments

Comments
 (0)