diff --git a/.gitea/workflows/multiple.yml b/.gitea/workflows/multiple.yml new file mode 100644 index 0000000..44af8c4 --- /dev/null +++ b/.gitea/workflows/multiple.yml @@ -0,0 +1,39 @@ +name: Gitea Actions Demo +on: [push] +jobs: + setup: + runs-on: ubuntu-latest + container: + image: catthehacker/ubuntu:act-latest + volumes: + - ubuntu_hostedtoolcache:/opt/hostedtoolcache + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Pnpm + uses: pnpm/action-setup@v2 + with: + version: 7 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'pnpm' + + - run: pnpm -v + - run: pnpm install + build: + needs: setup + runs-on: ubuntu-latest + steps: + - run: pnpm -v + - run: pnpm install + + build-test: + needs: setup + runs-on: ubuntu-latest + steps: + - run: pnpm -v + - run: pnpm install