fix autopublishing to npm.

This commit is contained in:
fiatjaf 2022-12-20 20:15:43 -03:00
parent 385cdb4ac6
commit 364c37cac5
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
2 changed files with 6 additions and 4 deletions

View File

@ -14,6 +14,8 @@ jobs:
node-version: 18
- run: yarn --ignore-engines
- run: node build.js
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
greater-version-only: true

View File

@ -1,6 +1,6 @@
{
"name": "nostr-tools",
"version": "1.0.0-alpha2",
"version": "1.0.0-beta",
"description": "Tools for making a Nostr client.",
"repository": {
"type": "git",