renew bun command in demo.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
fly6516 2024-12-11 13:20:45 +08:00
parent c6480bc628
commit 13e16ef2f3

View File

@ -25,10 +25,13 @@ jobs:
uses: http://fly6516.synology.me:4000/Gitea_Action/setup-node@v2
with:
node-version: '22' # 根据项目需求调整Node.js版本
env:
NODEJS_ORG_MIRROR: "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/" # 指定你的本地仓库地址
#env:
#NODEJS_ORG_MIRROR: "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/" # 指定你的本地仓库地址
- name: Install dependencies
- name: Install bun
run: npm install -g bun
- name: Install bun
run: bun install
- name: Run development server