Run unit tests in separate job

This commit is contained in:
Daz DeBoer 2022-08-22 14:24:42 -06:00
parent 11c5fa73ac
commit ed5f3e6998
No known key found for this signature in database
GPG Key ID: DD6B9F0B06683D5D
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,7 @@ runs:
shell: bash shell: bash
run: | run: |
npm install npm install
npm run all npm run build
- name: Upload distribution - name: Upload distribution
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

View File

@ -14,6 +14,16 @@ jobs:
- name: Build and upload distribution - name: Build and upload distribution
uses: ./.github/actions/build-dist 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: action-inputs:
needs: build-distribution needs: build-distribution
uses: ./.github/workflows/integ-test-action-inputs.yml uses: ./.github/workflows/integ-test-action-inputs.yml