Skip to content

Commit

Permalink
ci: fix pre-post scripts not running with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-algms committed Nov 29, 2023
1 parent 3b3893b commit 3ce75f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
name: dist
path: dist

- run: ls -l
- run: ls -l dist/

- run: SHELL=bash pnpm setup

- run: pnpm add -g semantic-release @semantic-release/git conventional-changelog-conventionalcommits
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts=true
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@semantic-release/npm",
{
"npmPublish": true,
"pkgRoot": "./dist"
"pkgRoot": "dist"
}
],
"@semantic-release/github",
Expand Down

0 comments on commit 3ce75f9

Please sign in to comment.