Skip to content

Commit 623ac1a

Browse files
committed
fix: set node version to .nvmrc
1 parent 9be8eb5 commit 623ac1a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- "main"
7+
paths:
8+
- "apps/website/**"
9+
- ".github/workflows/gh-pages.yml"
710

811
jobs:
912
# Build job
@@ -16,14 +19,14 @@ jobs:
1619
- name: Setup Node.js
1720
uses: actions/setup-node@v5
1821
with:
19-
node-version: lts
22+
node-version-file: ".nvmrc"
2023
cache: "yarn"
2124

2225
- name: Setup Turbo and Install dependencies
2326
run: |
2427
npx -y turbo prune website;
2528
cd out;
26-
yarn install --frozen-lockfile;
29+
yarn install --immutable
2730
2831
- name: Build static files
2932
id: build

0 commit comments

Comments
 (0)