Skip to content

Commit

Permalink
fix: add missing files to the npm tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
chathurabuddi committed Sep 11, 2024
1 parent 4486295 commit 99584fe
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 209 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npm run release
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ coverage
eslint.config.mjs
jest.config.json
tsconfig.jest.json
.releaserc.json
15 changes: 13 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "./publish"
}
],
[
"@semantic-release/github",
{
"assets": "./publish/*.tgz"
}
]
]
}
Loading

0 comments on commit 99584fe

Please sign in to comment.