add corepack to node

Fixes #2996
Fixes https://github.com/teaxyz/cli/issues/673
This commit is contained in:
Max Howell 2023-08-28 16:30:33 -04:00
parent 8da5ea6836
commit adfe3a8e4e

View file

@ -30,13 +30,6 @@ build:
python.org: '>=3.7 <3.11' python.org: '>=3.7 <3.11'
freedesktop.org/pkg-config: ^0.29 freedesktop.org/pkg-config: ^0.29
script: | script: |
# This is hacky, but it works.
# Knowing the precise versions to test is difficult, since
# nodejs develops multiple majors in sync.
if ./configure --help | grep -- --without-corepack; then
ARGS="$ARGS --without-corepack"
fi
./configure $ARGS ./configure $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
env: env: