Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEdouard committed Dec 10, 2024
1 parent dbd23c7 commit 23cdf01
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Install Dependencies
- name: Set up Node.js with NVM
run: |
export NVM_DIR="$HOME/.nvm"
mkdir -p "$NVM_DIR"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install --lts
npm ci
echo 'export NVM_DIR="$HOME/.nvm"' >> $GITHUB_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $GITHUB_ENV
echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> $GITHUB_ENV
- name: Install Dependencies
run: |
source $HOME/.nvm/nvm.sh
nvm use 22.12.0
npm install
- name: Build Next.js App
run: npm run build
Expand Down

0 comments on commit 23cdf01

Please sign in to comment.