删除 .gitea/workflows/multiple.yml
Some checks failed
Gitea Actions Demo / build-docker (push) Waiting to run
Cache Npx / task (push) Waiting to run
Gitea Actions Demo / setup (push) Waiting to run
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / build (push) Blocked by required conditions
Gitea Actions Demo / Gitea-Actions (push) Failing after 6m19s
Some checks failed
Gitea Actions Demo / build-docker (push) Waiting to run
Cache Npx / task (push) Waiting to run
Gitea Actions Demo / setup (push) Waiting to run
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / build (push) Blocked by required conditions
Gitea Actions Demo / Gitea-Actions (push) Failing after 6m19s
This commit is contained in:
parent
9bfbd109d4
commit
e02dadb933
@ -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"
|
Loading…
x
Reference in New Issue
Block a user