Skip to content

Commit 6dd91ec

Browse files
authored
Merge pull request #5 from iden3/npm-deployment-actions
Github action NPM
2 parents 2f47f9e + 7b18dd1 commit 6dd91ec

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish package to NPM
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish-npm:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 20.10
15+
registry-url: https://registry.npmjs.org/
16+
- run: npm publish
17+
env:
18+
NODE_AUTH_TOKEN: ${{secrets.IDENTITY_NPM_PUBLISH_TOKEN}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iden3/react-native-rapidsnark",
3-
"version": "0.0.1-alpha.1",
3+
"version": "0.0.1-alpha.2",
44
"description": "React-native wrapper for rapidsnark",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)