Skip to content

Commit e7429c0

Browse files
committed
Use node 22 where possible in build
1 parent 91b0457 commit e7429c0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
1414
&& chmod 0440 /etc/sudoers.d/$USERNAME
1515
USER $USERNAME
1616
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
17-
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm i --no-progress 18.18.0 && nvm i --no-progress 20.7.0 && nvm i --no-progress 21.1.0 && nvm i --no-progress 22.0.0" ]
18-
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm alias default 21" ]
17+
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm i --no-progress 18.18.0 && nvm i --no-progress 20.7.0 && nvm i --no-progress 21.1.0 && nvm i --no-progress 22.2.0" ]
18+
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm alias default 22" ]
1919
ENV DEBIAN_FRONTEND=dialog

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
- uses: actions/checkout@v4
198198
- uses: actions/setup-node@v4
199199
with:
200-
node-version: 21.x
200+
node-version: 22.x
201201
registry-url: "https://registry.npmjs.org"
202202
cache: npm
203203
- run: |
@@ -221,7 +221,7 @@ jobs:
221221
- uses: actions/checkout@v4
222222
- uses: actions/setup-node@v4
223223
with:
224-
node-version: 21.x
224+
node-version: 22.x
225225
registry-url: "https://registry.npmjs.org"
226226
cache: npm
227227
- run: |
@@ -246,7 +246,7 @@ jobs:
246246
- uses: actions/checkout@v4
247247
- uses: actions/setup-node@v4
248248
with:
249-
node-version: 21.x
249+
node-version: 22.x
250250
registry-url: "https://registry.npmjs.org"
251251
cache: npm
252252
- run: |

0 commit comments

Comments
 (0)