From 0ae72278a2f845cfa4bca1a017c059adaadbfff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=AA=E5=89=91=E5=B3=B0?= <1024489@qq.com> Date: Tue, 6 Aug 2024 13:36:55 +0800 Subject: [PATCH] 123123 --- .gitea/workflows/demo.yaml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 4b65f8a..1ff566a 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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 \ No newline at end of file