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: |