diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 5ae8a3e..720fb81 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,8 +17,9 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm i pnpm -g - run: pnpm i - - run: pnpm run test - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && . $HOME/.cargo/env && rustup target add wasm32-wasi + - run: pnpm run build + - run: pnpm run test - run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.npm_token }} \ No newline at end of file