Skip to content

Commit

Permalink
Use node 22 where possible in build
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed May 24, 2024
1 parent 91b0457 commit e7429c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
USER $USERNAME
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
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" ]
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm alias default 21" ]
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" ]
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm alias default 22" ]
ENV DEBIAN_FRONTEND=dialog
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: npm
- run: |
Expand All @@ -221,7 +221,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: npm
- run: |
Expand All @@ -246,7 +246,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: npm
- run: |
Expand Down

0 comments on commit e7429c0

Please sign in to comment.