Skip to content

Commit

Permalink
Default to Node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ggs committed Nov 10, 2024
1 parent e04210b commit 5dd9c44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
&& tmux -V \
&& rg --version \
&& git --version \
&& git --version \
&& \$HOME/.local/share/fnm/fnm exec --using=20 node --version \
&& \$HOME/.local/share/fnm/fnm exec --using=20 npm list --location=global \
&& \$HOME/.local/share/fnm/fnm exec --using=22 node --version \
&& \$HOME/.local/share/fnm/fnm exec --using=22 npm list --location=global \
"
4 changes: 2 additions & 2 deletions Dockerfile.arch
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM archlinux:base-devel
RUN pacman -Syu --noconfirm \
&& pacman -S --noconfirm neovim zsh git ripgrep fzf tmux unzip ctags stow \
&& curl -fsSL https://fnm.vercel.app/install | bash \
&& $HOME/.local/share/fnm/fnm install 20 \
&& $HOME/.local/share/fnm/fnm exec --using=20 npm update --location=global npm
&& $HOME/.local/share/fnm/fnm install 22 \
&& $HOME/.local/share/fnm/fnm exec --using=22 npm update --location=global npm

# copy dotfiles
COPY . /root/.files/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update -y \
&& mv /tmp/nvim-linux64/bin/nvim /bin/nvim \
&& curl -fsSL https://fnm.vercel.app/install | bash \
&& $HOME/.local/share/fnm/fnm install 20 \
&& $HOME/.local/share/fnm/fnm exec --using=20 npm update --location=global npm
&& $HOME/.local/share/fnm/fnm exec --using=22 npm update --location=global npm

# copy dotfiles
COPY . /root/.files/
Expand Down

0 comments on commit 5dd9c44

Please sign in to comment.