Use node-version file to set the version once

This commit is contained in:
Sebastian 2024-09-26 02:01:49 +02:00
parent 3df4ac79db
commit 174a3a674f
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
---
name: Deploy site to Pages
on:
@ -30,7 +31,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
node-version-file: ".node-version"
cache: npm
- name: Install dependencies
run: npm ci

1
.node-version Normal file
View File

@ -0,0 +1 @@
20.17.0