Skip to content

Commit 704af2d

Browse files
Merge pull request #576 from mkszepp/remove-prepublish
Remove `prepublishOnly` in favor of `prepack` script to fix randomly test failing
2 parents 64ab29c + 7272f11 commit 704af2d

File tree

4 files changed

+896
-392
lines changed

4 files changed

+896
-392
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,7 @@ jobs:
7979
- uses: actions/checkout@v4
8080
- uses: wyvox/action-setup-pnpm@v3
8181
- name: Run Tests
82-
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
82+
run: |
83+
pnpm _syncPnpm
84+
./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
8385
working-directory: test-app

addon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"scripts": {
2929
"build": "rollup --config",
30-
"prepublishOnly": "rollup --config",
30+
"prepack": "rollup --config",
3131
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
3232
"lint:js": "eslint . --cache",
3333
"lint:js:fix": "eslint . --fix",

0 commit comments

Comments
 (0)