更新 .gitea/workflows/multiple.yml
Some checks failed
Gitea Actions Demo / Gitea-Actions (push) Successful in 14s
Gitea Actions Demo / setup (push) Failing after 12s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / build (push) Has been skipped

This commit is contained in:
huanghs 2023-08-01 21:12:15 +08:00
parent 8e61a587f3
commit e474c5c287

View File

@ -22,7 +22,8 @@ jobs:
node-version: 16
cache: 'yarn'
- uses: actions/cache@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@ -30,8 +31,6 @@ jobs:
- name: Dependent installation
run: yarn install
test:
needs: setup
steps:
@ -40,7 +39,8 @@ jobs:
with:
fetch-depth: 1
- uses: actions/cache@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@ -51,8 +51,13 @@ jobs:
build:
needs: setup
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/cache@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}