We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4706105 commit 7d5cf45Copy full SHA for 7d5cf45
3 files changed
.github/workflows/release.yaml
@@ -29,12 +29,12 @@ jobs:
29
30
- name: Build wasm
31
run: nix build ".#wasm"
32
-
+
33
- name: Publish built wasm package
34
+ env:
35
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
run: |
37
cd ./result/js
- echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
- echo "@minecraftmetascript:registry=https://npm.pkg.github.com" >> .npmrc
38
npm publish --access public
39
40
wasm/.npmrc
@@ -0,0 +1 @@
1
+@minecraftmetascript:registry=https://npm.pkg.github.com
wasm/package.json
@@ -1,5 +1,5 @@
{
2
- "name": "@mms/wasm",
+ "name": "@minecraftmetascript/mms-wasm",
3
"version": "0.2.0",
4
"keywords": [],
5
"author": "",
0 commit comments