mirror of
https://github.com/gradle/actions
synced 2024-11-24 02:12:12 +00:00
Run unit tests in separate job
This commit is contained in:
parent
11c5fa73ac
commit
ed5f3e6998
2 changed files with 11 additions and 1 deletions
2
.github/actions/build-dist/action.yml
vendored
2
.github/actions/build-dist/action.yml
vendored
|
@ -7,7 +7,7 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
npm install
|
||||
npm run all
|
||||
npm run build
|
||||
- name: Upload distribution
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
10
.github/workflows/ci-quick-check.yml
vendored
10
.github/workflows/ci-quick-check.yml
vendored
|
@ -14,6 +14,16 @@ jobs:
|
|||
- name: Build and upload distribution
|
||||
uses: ./.github/actions/build-dist
|
||||
|
||||
run-unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
- name: Run tests
|
||||
run: |
|
||||
npm install
|
||||
npm run all
|
||||
|
||||
action-inputs:
|
||||
needs: build-distribution
|
||||
uses: ./.github/workflows/integ-test-action-inputs.yml
|
||||
|
|
Loading…
Reference in a new issue