File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,16 @@ jobs:
15
15
- name : Setup Wasm Pack
16
16
uses : jetli/wasm-pack-action@v0.3.0
17
17
- 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
23
19
- name : Create Release
24
20
uses : ncipollo/release-action@v1
25
- env :
26
- GIT_TAG : ${{ github.ref_name }}
27
21
with :
28
22
generateReleaseNotes : true
29
- artifacts : " pkg/nodejs_snowflake_${GIT_TAG} .wasm"
23
+ artifacts : " pkg/nodejs_snowflake .wasm"
30
24
token : ${{ secrets.GITHUB_TOKEN }}
31
25
- name : Publish packages to NPM
32
26
env :
33
27
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