mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-25 09:40:57 -05: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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: |
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run all
|
||||
- uses: ./
|
||||
- name: Test
|
||||
uses: ./
|
||||
with:
|
||||
wrapper-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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
- name: Test
|
||||
uses: ./
|
||||
with:
|
||||
wrapper-directory: __tests__/data/basic
|
||||
build-root-directory: __tests__/data/basic
|
||||
|
|
Loading…
Reference in a new issue