From ed5f3e6998b2e7b0a3b2369ca89529669a427909 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Mon, 22 Aug 2022 14:24:42 -0600 Subject: [PATCH] Run unit tests in separate job --- .github/actions/build-dist/action.yml | 2 +- .github/workflows/ci-quick-check.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-dist/action.yml b/.github/actions/build-dist/action.yml index a1a051f..6baf11f 100644 --- a/.github/actions/build-dist/action.yml +++ b/.github/actions/build-dist/action.yml @@ -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: diff --git a/.github/workflows/ci-quick-check.yml b/.github/workflows/ci-quick-check.yml index fec7de2..4aacdc9 100644 --- a/.github/workflows/ci-quick-check.yml +++ b/.github/workflows/ci-quick-check.yml @@ -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