mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 01:36:19 +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:
|
||||
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…
x
Reference in New Issue
Block a user