File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,20 +15,16 @@ jobs:
1515 - name : Setup Wasm Pack
1616 uses : jetli/wasm-pack-action@v0.3.0
1717 - name : Build the WASM artifact
18- env :
19- GIT_TAG : ${{ github.ref_name }}
20- run : |
21- wasm-pack build --target nodejs
22- mv pkg/nodejs_snowflake_bg.wasm pkg/nodejs_snowflake_${GIT_TAG}.wasm
18+ run : wasm-pack build --target nodejs
2319 - name : Create Release
2420 uses : ncipollo/release-action@v1
25- env :
26- GIT_TAG : ${{ github.ref_name }}
2721 with :
2822 generateReleaseNotes : true
29- artifacts : " pkg/nodejs_snowflake_${GIT_TAG} .wasm"
23+ artifacts : " pkg/nodejs_snowflake .wasm"
3024 token : ${{ secrets.GITHUB_TOKEN }}
3125 - name : Publish packages to NPM
3226 env :
3327 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
34- run : wasm-pack publish
28+ run : |
29+ npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
30+ wasm-pack publish
You can’t perform that action at this time.
0 commit comments