Skip to content

Commit

Permalink
set node version for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fgandellini committed Jun 9, 2024
1 parent 66b5d9d commit 8aa743e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- name: Read Node.js version from .nvmrc
id: nvmrc
uses: browniebroke/read-nvmrc-action@v1

- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: '${{ steps.nvmrc.outputs.node_version }}'

- name: Deploy to GitHub Pages
uses: bitovi/[email protected]
with:
Expand Down

0 comments on commit 8aa743e

Please sign in to comment.