mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 09:02:50 +00:00
Refine CI workflows
This commit is contained in:
parent
8f6be44bf5
commit
b55d63f1f8
2 changed files with 10 additions and 5 deletions
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…
Reference in a new issue