From e02dadb93326d072f3d06c22666a64d845d927c9 Mon Sep 17 00:00:00 2001 From: huanghs Date: Tue, 30 Jul 2024 11:50:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20.gitea/workflows/multiple.?= =?UTF-8?q?yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/multiple.yml | 102 ---------------------------------- 1 file changed, 102 deletions(-) delete mode 100644 .gitea/workflows/multiple.yml diff --git a/.gitea/workflows/multiple.yml b/.gitea/workflows/multiple.yml deleted file mode 100644 index 90bae51..0000000 --- a/.gitea/workflows/multiple.yml +++ /dev/null @@ -1,102 +0,0 @@ -name: Gitea Actions Demo -on: [push] -jobs: - - setup: - runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - - name: Corepack enable - run: corepack enable - - - name: Hash files - id: get-hash - uses: seepine/hash-files@v1 - with: - patterns: | - **/package.json - **/yarn.lock - - - name: Cache node modules - uses: actions/cache@v3 - with: - path: node_modules - key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }} - - - name: Dependent installation - run: yarn install - - test: - needs: setup - runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - - name: Corepack enable - run: corepack enable - - - name: Hash files - id: get-hash - uses: seepine/hash-files@v1 - with: - patterns: | - **/package.json - **/yarn.lock - - - name: Cache node modules - uses: actions/cache@v3 - with: - path: node_modules - key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }} - - - name: Dependent installation - run: yarn install - - - name: Eslint Test - run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx" - - build: - needs: setup - runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - - name: Corepack enable - run: corepack enable - - - name: Hash files - id: get-hash - uses: seepine/hash-files@v1 - with: - patterns: | - **/package.json - **/yarn.lock - - - name: Cache node modules - uses: actions/cache@v3 - with: - path: node_modules - key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.hash }} - - - name: Dependent installation - run: yarn install - - - name: Eslint Test - run: npx eslint --ext ".vue,.js,.jsx,.ts,.tsx"