name: Gitea Actions Demo on: [push] jobs: setup: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest env: RUNNER_TOOL_CACHE: /toolcache steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 1 - run: corepack enable - name: Setup Node uses: actions/setup-node@v3 with: node-version: 16 cache: 'yarn' - name: Dependent installation run: yarn install - uses: actions/upload-artifact@v3 with: path: ${{ github.workspace }} test: needs: setup steps: - uses: actions/download-artifact@v3 with: path: ${{ github.workspace }} - run: yarn install build: needs: setup steps: - uses: actions/download-artifact@v3 with: path: ${{ github.workspace }} - run: yarn install