Skip to content

Commit

Permalink
Merge pull request #5 from iden3/npm-deployment-actions
Browse files Browse the repository at this point in the history
Github action NPM
  • Loading branch information
demonsh authored Feb 28, 2024
2 parents 2f47f9e + 7b18dd1 commit 6dd91ec
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish package to NPM

on:
release:
types: [created]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.10
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.IDENTITY_NPM_PUBLISH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iden3/react-native-rapidsnark",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"description": "React-native wrapper for rapidsnark",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 6dd91ec

Please sign in to comment.