Skip to content

Commit

Permalink
fix(release): Handle precondition edge cases resulting in broken NPM …
Browse files Browse the repository at this point in the history
…packages
  • Loading branch information
Sidnioulz committed Oct 30, 2024
1 parent 0f8b8f5 commit 6ec867d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Build everything
run: pnpm build

- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -40,4 +43,4 @@ jobs:
GIT_AUTHOR_EMAIL: 'github-actions[bot]@users.noreply.github.com'
GIT_COMMITTER_NAME: 'github-actions-shell'
GIT_COMMITTER_EMAIL: 'github-actions[bot]@users.noreply.github.com'
run: 'pnpm exec multi-semantic-release'
run: 'pnpm release'
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"lint:staged": "turbo run lint:staged --filter=[HEAD^1]",
"prepare": "husky",
"prerelease": "turbo run build",
"prerelease:dry": "turbo run build",
"release": "multi-semantic-release",
"release:dry": "multi-semantic-release --dryRun --no-ci",
"test": "turbo run test",
Expand Down

0 comments on commit 6ec867d

Please sign in to comment.