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