Skip to content

Commit e1a9f2c

Browse files
authored
Feture/release 0.0.3 prep (#18)
* Release 0.0.3 * GH Action to publish package on release
1 parent 8d2fc87 commit e1a9f2c

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

.github/workflows/npm-publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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: 16
15+
registry-url: https://registry.npmjs.org/
16+
- run: npm ci
17+
- run: npm run build
18+
- run: npm publish
19+
env:
20+
NODE_AUTH_TOKEN: ${{secrets.IDENTITY_NPM_PUBLISH_TOKEN}}

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iden3/js-merkletree",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "javascript sparse merkle tree library",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
@@ -67,6 +67,6 @@
6767
"typescript": "^4.8.4"
6868
},
6969
"dependencies": {
70-
"@iden3/js-crypto": "0.0.3"
70+
"@iden3/js-crypto": "0.0.4"
7171
}
7272
}

0 commit comments

Comments
 (0)