Use Node 20

This commit is contained in:
Hugh Nimmo-Smith
2024-07-19 09:07:01 +01:00
parent 2c5b1de6b4
commit 9b68539719
5 changed files with 5 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ jobs:
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- name: Install dependencies
run: "yarn install"
- name: Build

View File

@@ -12,6 +12,7 @@ jobs:
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- name: Install dependencies
run: "yarn install"
- name: Prettier

View File

@@ -14,6 +14,7 @@ jobs:
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- name: Install dependencies
run: "yarn install"
- name: Vitest

View File

@@ -18,6 +18,7 @@ jobs:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- name: Install Deps
run: "yarn install --frozen-lockfile"

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
20