From fe7da7b30f96faa963364c4b2db8d8092adee87f Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Mon, 11 Jul 2022 19:55:17 +0200 Subject: [PATCH] ci(test): use test_matrix and test jobs (#483) Co-authored-by: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> --- .github/workflows/test.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 210357952..445b26579 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ name: Test - opened - synchronize jobs: - test: + test_matrix: runs-on: ubuntu-latest strategy: matrix: @@ -27,4 +27,11 @@ jobs: - name: Install run: npm ci - name: Test - run: npm test + run: npm test --ignore-scripts # run lint only once + test: + runs-on: ubuntu-latest + needs: test_matrix + steps: + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 + - run: npm ci + - run: npm run lint