mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
Use node-version file to set the version once
This commit is contained in:
parent
3df4ac79db
commit
174a3a674f
3
.github/workflows/gh-pages.yml
vendored
3
.github/workflows/gh-pages.yml
vendored
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
name: Deploy site to Pages
|
name: Deploy site to Pages
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -30,7 +31,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version-file: ".node-version"
|
||||||
cache: npm
|
cache: npm
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
1
.node-version
Normal file
1
.node-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
20.17.0
|
Loading…
Reference in New Issue
Block a user