Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea457aa

Browse files
authored
fix: run build before git commit (#232)
1 parent 090f844 commit ea457aa

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
- run: npx semantic-release
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GR2M_PAT_FOR_SEMANTIC_RELEASE }}
19-
- run: npm run build
2019
- run: >-
2120
git push --force
2221
https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
"npmPublish": false
5757
}
5858
],
59+
[
60+
"@semantic-release/exec",
61+
{
62+
"publishCmd": "npm run build"
63+
}
64+
],
5965
[
6066
"@semantic-release/git",
6167
{

0 commit comments

Comments
 (0)