Skip to content

Commit 967970b

Browse files
committed
Install node in container; try to help actions find it
One possible problem is that this is actually the downstream Debian build of Node 18, which may have security patches, but which does not have any features or breaking changes new in Node 20, and also which will not report itself as being Node 20. (GitHub Actions switched from Node 16 to Node 20, so I don't think using older actions versions would necessarily help.)
1 parent 0d54b5f commit 967970b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ jobs:
204204
- name: Prerequisites
205205
run: |
206206
apt-get update
207-
apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev pkgconf
207+
apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev nodejs pkgconf
208+
mkdir -p /__e/node20/bin
209+
ln -s /usr/bin/node /__e/node20/bin/node
208210
- uses: actions/checkout@v4
209211
- uses: dtolnay/rust-toolchain@stable
210212
with:

0 commit comments

Comments
 (0)