Skip to content

Commit

Permalink
build: do not run post install scripts at releasing
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
jerome-benoit committed Oct 26, 2024
1 parent a55bdc4 commit 0290770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
bun-version: latest

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --ignore-scripts --frozen-lockfile

- name: Build
run: pnpm build
Expand Down Expand Up @@ -60,10 +60,7 @@ jobs:
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build
run: pnpm install --ignore-scripts --frozen-lockfile

- name: Read package.json version
id: package-version
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"postinstall": "pnpm exec simple-git-hooks",
"dev": "tsup --watch",
"build": "tsup",
"prepublishOnly": "rm -rf ./package && clean-publish",
"prepublishOnly": "pnpm build && rm -rf ./package && clean-publish",
"postpublish": "rm -rf ./package",
"typecheck": "tsc --noEmit",
"lint": "eslint src test examples tsup.config.ts",
Expand Down

0 comments on commit 0290770

Please sign in to comment.