Skip to content

Commit

Permalink
Attempt to use nvmrc for GH actions Node version
Browse files Browse the repository at this point in the history
  • Loading branch information
jegtnes committed Mar 1, 2024
1 parent 7e0eaba commit a716251
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Setup Node.js environment
uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: '20.11.1'
node-version-file: '.nvmrc'
- name: Set datetime env var
run: echo "DATETIME=$(date -u +"%Y%m%d-%H%M%SZ")" >> $GITHUB_ENV
- name: Set deploy folder env var
Expand Down

0 comments on commit a716251

Please sign in to comment.