renew npm mirror in demo.yaml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
7ae98092d7
commit
d3c641e9ab
@ -10,7 +10,7 @@ jobs:
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
uses: http://fly6516.synology.me:4000/Gitea_Action/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
@ -29,10 +29,14 @@ jobs:
|
||||
NODEJS_ORG_MIRROR: "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/" # 指定你的本地仓库地址
|
||||
|
||||
- name: Install bun
|
||||
run: npm install -g bun
|
||||
run: npm config set registry https://registry.npmmirror.com && npm install -g bun
|
||||
|
||||
- name: Install bun
|
||||
run: bun install
|
||||
|
||||
- name: Run development server
|
||||
run: bun run dev
|
||||
run: bun run dev
|
||||
#- name: Run development server
|
||||
#run: cp ./java /app/java
|
||||
|
||||
#- v /homework/java:/app/java
|
Loading…
Reference in New Issue
Block a user