From 0958b483b6770e3f4026d1b4a2779c1e14b2c292 Mon Sep 17 00:00:00 2001 From: Im-Rises Date: Fri, 25 Aug 2023 23:10:24 -0400 Subject: [PATCH] test --- .github/workflows/wasm-npm-publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/wasm-npm-publish.yml b/.github/workflows/wasm-npm-publish.yml index df2bb18..d3e8e78 100644 --- a/.github/workflows/wasm-npm-publish.yml +++ b/.github/workflows/wasm-npm-publish.yml @@ -20,14 +20,12 @@ jobs: - name: Build wasm run: wasm-pack build --target web --out-name index --out-dir si-emu-pkg --release - - name: Setup Node.js - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 16 - - - name: Publish to NPM - run: | - cd si-emu-pkg - npm publish + registry-url: https://registry.npmjs.org/ + - run: cd si-emu-pkg + - run: npm ci + - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.npm_token}} \ No newline at end of file