From a385056f69a2245540ec35ce40ca1408b4340e64 Mon Sep 17 00:00:00 2001 From: Andy Wong Date: Sat, 16 Mar 2024 14:57:44 -0700 Subject: [PATCH] fix build --- .github/workflows/build.yaml | 1 + .github/workflows/release.yaml | 17 ----------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fa1d99c..23ff809 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,6 +14,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: "20" + - run: rustup target add wasm32-unknown-unknown - run: npm ci --ignore-scripts - run: npm run build - run: npm test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index fc90dd9..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: release -on: - release: - types: [created] -jobs: - npm_publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: "20" - registry-url: "https://registry.npmjs.org" - - run: npm ci --ignore-scripts - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}