parent
f16dc3b2c0
commit
0ae72278a2
@ -4,15 +4,23 @@ on: [push]
|
||||
jobs:
|
||||
build:
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: ls -lR
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
- name: Check out repository code
|
||||
uses: https://gitea.com/actions/checkout@v3
|
||||
- run: ls -lR
|
||||
- name: Use Node.js 1
|
||||
uses: https://gitea.com/actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- run: yarn config get registry
|
||||
- run: npm config get registry
|
||||
- run: yarn config set registry http://registry.npm.taobao.org/
|
||||
- run: npm config set registry https://registry.npm.taobao.org
|
||||
- run: yarn cache clean
|
||||
- name: Install yarn
|
||||
run: npm i -g yarn
|
||||
- run: ls -lR /var/run/act/workflow
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
run: yarn
|
||||
- name: Build Docusaurus website
|
||||
run: yarn build
|
Loading…
Reference in New Issue
Block a user