Skip to content

Commit

Permalink
fix: make sure the package can be published
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
Berend Sliedrecht committed Jun 14, 2024
1 parent 782c67e commit 9c99ada
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
id: publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
Expand Down
15 changes: 12 additions & 3 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"npm": {
"skipChecks": true,
"ignoreVersion": true,
"tag": "latest"
},
"git": {
"push": false,
"commit": false,
"requireCommits": true,
"tagAnnotation": "${version}",
"requireBranch": "main"
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"url": "https://github.com/animo/askar-webcrypto/issues",
"email": "[email protected]"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"format": "biome format .",
Expand Down

0 comments on commit 9c99ada

Please sign in to comment.