Skip to content

Commit

Permalink
fix: reverted releaserc and added build step in release CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed committed May 9, 2024
1 parent 97ee3b8 commit ee3ed9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Release to npm/Github
run: npx semantic-release@22
env:
Expand Down
21 changes: 5 additions & 16 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,23 @@
"branch": "master",
"tagFormat": "v${version}",
"verifyConditions": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
},
"@semantic-release/npm",
{
"path": "@semantic-release/github",
"assets": {
"path": "dist"
"path": "dist/*"
}
}
],
"analyzeCommits": "@semantic-release/commit-analyzer",
"generateNotes": "@semantic-release/release-notes-generator",
"prepare": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
}
],
"prepare": "@semantic-release/npm",
"publish": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
},
"@semantic-release/npm",
{
"path": "@semantic-release/github",
"assets": {
"path": "dist"
"path": "dist/*"
}
}
],
Expand Down

0 comments on commit ee3ed9d

Please sign in to comment.