Skip to content

Commit

Permalink
build: use node20
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Apr 24, 2024
1 parent fa40d69 commit 8eb406b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ ENV CC=clang
ENV CXX=clang++
ENV PUPPETEER_SKIP_CHROME_HEADLESS_SHELL_DOWNLOAD=true

# install node20
RUN . $NVM_DIR/nvm.sh && nvm_dir="${NVM_DIR:-~/.nvm}" && nvm unload && rm -rf "$nvm_dir"
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs

# install pnpm
RUN npm install -g pnpm

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"untracked": "latest"
},
"engines": {
"node": ">= 12"
"node": ">= 20"
},
"files": [
"bin",
Expand Down

0 comments on commit 8eb406b

Please sign in to comment.