mirror of
https://github.com/open-webui/docs
synced 2025-05-19 18:58:41 +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
|
||||
|
||||
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
1
.node-version
Normal file
@ -0,0 +1 @@
|
||||
20.17.0
|
Loading…
Reference in New Issue
Block a user