File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
.github/actions/node-npm-setup Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ description: Will set up Node and install all packages by caching node_modules
55runs :
66 using : ' composite'
77 steps :
8+ # Set this in GITHUB_ENV so it's set in the environment for users of this
9+ # action as a workaround for https://github.com/nodejs/node/issues/59364
10+ - name : Set -no-experimental-strip-types in NODE_OPTIONS
11+ shell : bash
12+ run : echo "NODE_OPTIONS=--no-experimental-strip-types" >> $GITHUB_ENV
13+
814 - name : Cache node_modules
915 uses : actions/cache@v4
1016 id : cache-node_modules
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ FROM ghcr.io/github/gh-base-image/gh-base-noble:20250805-204228-g50c20871f AS ba
1818# Must run as root
1919RUN apt-get -qq update && apt-get -qq install --no-install-recommends curl git \
2020 && curl -sL https://deb.nodesource.com/setup_22.x | bash - \
21- && apt-get install -y nodejs=22.17.0-1nodesource1 \
21+ && apt-get install -y nodejs \
2222 && node --version
2323
2424# Create the node user and home directory
Original file line number Diff line number Diff line change 328328 "esm" : " ^3.2.25"
329329 },
330330 "engines" : {
331- "node" : " ^20 || >=22.0.0 <22.18.0 "
331+ "node" : " ^20 || ^22 "
332332 },
333333 "cacheDirectories" : [
334334 " node_modules" ,
You can’t perform that action at this time.
0 commit comments