1 file changed
+3
-10
.github/workflows/release-npm.yml
+3
-10
@@ -57,23 +57,16 @@ jobs:
57
shell: bash
58
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
59
60
- - name: Install Rust toolchain
60
+ - name: Install toolkit and build
61
uses: dtolnay/rust-toolchain@stable
62
with:
63
target: ${{ matrix.build.TARGET }}
64
- override: true
65
-
66
- - name: Build
67
- uses: actions-rs/cargo@v1
68
- with:
69
- command: build
70
- args: --release --locked --target ${{ matrix.build.TARGET }}
71
- use-cross: ${{ matrix.build.OS == 'ubuntu-20.04' }} # use `cross` for Linux builds
64
+ run: cargo build --release --locked --target ${{ matrix.build.TARGET }}
65
66
- name: Install node
67
uses: actions/setup-node@v3
68
with:
76
- node-version: "16"
69
+ node-version: "18"
70
registry-url: "https://registry.npmjs.org"
71
72
- name: Publish to NPM