mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 13:06:18 +08:00
Refine CI workflows
This commit is contained in:
parent
8f6be44bf5
commit
b55d63f1f8
9
.github/workflows/dev.yml
vendored
9
.github/workflows/dev.yml
vendored
@ -8,11 +8,14 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout sources
|
||||||
- run: |
|
uses: actions/checkout@v2
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run all
|
npm run all
|
||||||
- uses: ./
|
- name: Test
|
||||||
|
uses: ./
|
||||||
with:
|
with:
|
||||||
wrapper-directory: __tests__/data/basic
|
wrapper-directory: __tests__/data/basic
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
|
6
.github/workflows/prod.yml
vendored
6
.github/workflows/prod.yml
vendored
@ -11,8 +11,10 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout sources
|
||||||
- uses: ./
|
uses: actions/checkout@v2
|
||||||
|
- name: Test
|
||||||
|
uses: ./
|
||||||
with:
|
with:
|
||||||
wrapper-directory: __tests__/data/basic
|
wrapper-directory: __tests__/data/basic
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user