Skip to content

Commit

Permalink
fix: build after version released (#23)
Browse files Browse the repository at this point in the history
* fix: build after version released

In this way we have the correct version in the slangroom-editor

* chore: add @semantic-release/exec to devDependencies
  • Loading branch information
matteo-cristino authored Aug 5, 2024
1 parent 145c391 commit 250356a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: 🧪
runs-on: ubuntu-latest
steps:
- uses: dyne/pnpm@v1
- uses: dyne/pnpm@main
- run: npx playwright install --with-deps
- run: pnpm t
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -52,8 +52,7 @@ jobs:
pull-requests: write
id-token: write
steps:
- uses: dyne/pnpm@v1
- run: pnpm build
- uses: dyne/pnpm@main
- run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
"message": "chore(release): 🚀 ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "pnpm build"
}
],
[
"@semantic-release/github",
{
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@playwright/test": "^1.45.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.6",
"@semantic-release/npm": "^12.0.1",
Expand Down
23 changes: 22 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 250356a

Please sign in to comment.