aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-02-05 18:07:29 +0100
committerRon Evans <[email protected]>2024-02-11 09:43:22 +0100
commited55f56d8500c3bb9cb6b344d18e2b114c20a531 (patch)
tree379dfe2c1da8df5bf01225613f72293e458911e5 /GNUmakefile
parentedb8766aabe971860dec5b5d3546b15ad15480dd (diff)
downloadtinygo-ed55f56d8500c3bb9cb6b344d18e2b114c20a531.tar.gz
tinygo-ed55f56d8500c3bb9cb6b344d18e2b114c20a531.zip
ci: update from Node.js 16 to Node.js 18
Node.js 16 is no longer supported, so we can drop support for it as well. This also means updating a whole lot of GitHub Actions versions, because they were updated to work on Node.js 20 instead. For most actions this should be a relatively small change, but the upload-aftifact action has had some major changes (which should generally improve things a lot).
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c5cfb3ccd..bf23397df 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -269,14 +269,14 @@ lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a:
# Check for Node.js used during WASM tests.
NODEJS_VERSION := $(word 1,$(subst ., ,$(shell node -v | cut -c 2-)))
-MIN_NODEJS_VERSION=16
+MIN_NODEJS_VERSION=18
.PHONY: check-nodejs-version
check-nodejs-version:
ifeq (, $(shell which node))
- @echo "Install NodeJS version 16+ to run tests."; exit 1;
+ @echo "Install NodeJS version 18+ to run tests."; exit 1;
endif
- @if [ $(NODEJS_VERSION) -lt $(MIN_NODEJS_VERSION) ]; then echo "Install NodeJS version 16+ to run tests."; exit 1; fi
+ @if [ $(NODEJS_VERSION) -lt $(MIN_NODEJS_VERSION) ]; then echo "Install NodeJS version 18+ to run tests."; exit 1; fi
# Build the Go compiler.
tinygo: