From 809c2d94079b7ad64a578c51b4a4682efdcfa307 Mon Sep 17 00:00:00 2001 From: Franz-Stefan Preiss Date: Sat, 12 Aug 2023 09:09:26 +0200 Subject: [PATCH] Update Node version for darwin to latest v14 to match the one for Linux --- .github/workflows/motoko-vetkd-example.yml | 1 + .github/workflows/provision-darwin.sh | 2 +- .github/workflows/rust-vetkd-example.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/motoko-vetkd-example.yml b/.github/workflows/motoko-vetkd-example.yml index 83c770fc2..76e788569 100644 --- a/.github/workflows/motoko-vetkd-example.yml +++ b/.github/workflows/motoko-vetkd-example.yml @@ -20,6 +20,7 @@ jobs: - name: Provision Darwin env: DFX_VERSION: 0.14.2 + NODE_VERSION: 14.21.3 run: bash .github/workflows/provision-darwin.sh - name: Motoko vetKD Darwin run: | diff --git a/.github/workflows/provision-darwin.sh b/.github/workflows/provision-darwin.sh index 19dac5d3d..fb84438fc 100755 --- a/.github/workflows/provision-darwin.sh +++ b/.github/workflows/provision-darwin.sh @@ -11,7 +11,7 @@ bash install-brew.sh rm install-brew.sh # Install Node. -version=14.15.4 +version=${NODE_VERSION:=14.15.4} curl --location --output node.pkg "https://nodejs.org/dist/v$version/node-v$version.pkg" sudo installer -pkg node.pkg -store -target / rm node.pkg diff --git a/.github/workflows/rust-vetkd-example.yml b/.github/workflows/rust-vetkd-example.yml index 6fe322887..4420c6e7d 100644 --- a/.github/workflows/rust-vetkd-example.yml +++ b/.github/workflows/rust-vetkd-example.yml @@ -20,6 +20,7 @@ jobs: - name: Provision Darwin env: DFX_VERSION: 0.14.2 + NODE_VERSION: 14.21.3 run: bash .github/workflows/provision-darwin.sh - name: Rust vetKD Darwin run: |