Skip to content

Commit 7dc078f

Browse files
committed
testing CI
1 parent 4dc044d commit 7dc078f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/actions/node-npm-setup/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ description: Will set up Node and install all packages by caching node_modules
55
runs:
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

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
1919
RUN 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
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",

0 commit comments

Comments
 (0)