File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,26 @@ jobs:
53
53
path : ./wasm/dist
54
54
name : libspot
55
55
56
+ - name : Setup Node.js
57
+ uses : actions/setup-node@v4
58
+ with :
59
+ node-version : " 20.x"
60
+ registry-url : " https://npm.pkg.github.com"
61
+
62
+ - name : Copy .npmrc
63
+ run : |
64
+ ls -alh --color=auto
65
+ cat ${NPM_CONFIG_USERCONFIG}
66
+ cp ${NPM_CONFIG_USERCONFIG} .npmrc
67
+ working-directory : ./wasm
68
+
56
69
- name : Publish to Github Packages
57
70
run : |
58
71
sed -i 's,"libspot","@asiffer/libspot",g' package.json
59
- bun publish --registry=https://npm.pkg.github.com
72
+ npm publish
60
73
working-directory : ./wasm
61
74
env :
62
- BUN_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
75
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
76
64
77
# upload:
65
78
# runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments