From 561d3c05843334283da756b4e76625ac7b31c3ae Mon Sep 17 00:00:00 2001 From: Thomas Etter Date: Tue, 24 Oct 2023 11:15:10 +0200 Subject: [PATCH] Update node from 16 to 20 (#3666) --- .github/workflows/main.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8363d0eaa13..e4ba9447102 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,7 @@ jobs: - run: rustup target add wasm32-unknown-unknown - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - uses: ./.github/actions/setup-geckodriver - run: cargo test --target wasm32-unknown-unknown - run: cargo test --target wasm32-unknown-unknown --features serde-serialize @@ -101,7 +101,6 @@ jobs: - run: cargo test --target wasm32-unknown-unknown env: WASM_BINDGEN_EXTERNREF: 1 - NODE_ARGS: --experimental-wasm-reftypes - run: cargo test --target wasm32-unknown-unknown env: WASM_BINDGEN_MULTI_VALUE: 1 @@ -130,7 +129,7 @@ jobs: # - run: rustup target add wasm32-unknown-unknown # - uses: actions/setup-node@v3 # with: - # node-version: '16' + # node-version: '20' # - uses: ./.github/actions/setup-geckodriver # - run: cargo test --target wasm32-unknown-unknown # env: @@ -151,7 +150,7 @@ jobs: - run: rustup target add wasm32-unknown-unknown - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - run: cargo test - run: cargo test -p wasm-bindgen-cli-support - run: cargo test -p wasm-bindgen-cli @@ -171,7 +170,7 @@ jobs: - run: rustup target add wasm32-unknown-unknown - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - uses: ./.github/actions/setup-geckodriver - run: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown - run: cargo build --manifest-path crates/web-sys/Cargo.toml --target wasm32-unknown-unknown --features Node @@ -200,7 +199,7 @@ jobs: - run: rustup target add wasm32-unknown-unknown - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - uses: ./.github/actions/setup-geckodriver - run: cargo test -p js-sys --target wasm32-unknown-unknown - run: cargo test -p js-sys --target wasm32-unknown-unknown @@ -216,7 +215,7 @@ jobs: - run: rustup target add wasm32-unknown-unknown - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - run: cargo test -p wasm-bindgen-webidl - run: cargo test -p webidl-tests --target wasm32-unknown-unknown env: @@ -234,7 +233,7 @@ jobs: - run: rustup target add wasm32-unknown-unknown - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '20' - run: cd crates/typescript-tests && ./run.sh test_deno: