123123
Some checks failed
Node.js CI / build (push) Failing after 18s

This commit is contained in:
洪剑峰 2024-08-06 13:36:55 +08:00
parent f16dc3b2c0
commit 0ae72278a2

View File

@ -3,16 +3,24 @@ on: [push]
jobs:
build:
steps:
- name: Check out repository code
uses: actions/checkout@v3
steps:
- 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