From 233b125916bd44bb8fb4ee93f5572e246e3dd8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Schwert?= Date: Tue, 12 Nov 2024 10:05:59 -0600 Subject: [PATCH] Force rust toolchain for web-client NPM build And remove unnecessary steps and deviations from the default. [skip ci] --- .github/workflows/npm_publish.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index a3cb7bf929..a0d54769eb 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -14,19 +14,15 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: + toolchain: 1.81.0 targets: wasm32-unknown-unknown - uses: Swatinem/rust-cache@v2 - - uses: jetli/wasm-bindgen-action@v0.2.0 - with: - version: 'latest' - name: Build package working-directory: ./web-client run: ./scripts/build.sh - uses: actions/setup-node@v4 with: - node-version: '18.x' registry-url: 'https://registry.npmjs.org' - - run: npm install -g npm - name: Publish to npm working-directory: ./web-client/dist run: npm publish --tag next --provenance