Skip to content

Commit

Permalink
Update gatsby-publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveEdge1 authored Oct 30, 2024
1 parent ff8374b commit a0c5bb5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gatsby-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
- name: Download nvm
run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
- name: Install nvm
- bash: |
. $HOME/.nvm/nvm.sh > /dev/null 2>&1 || true
nvm ls
nvm use v14
- run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm use 14
npm ci
- name: install node14
run: nvm install 14
- name: show node version
Expand Down

0 comments on commit a0c5bb5

Please sign in to comment.