From d85e7167242fd94729d12fef8e3581a900fb1424 Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Wed, 30 Jun 2021 10:07:22 +0200 Subject: [PATCH] chore: Move components validation to separate task --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0447d1a4d..7b987a1d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,16 @@ jobs: - run: npm ci --ignore-scripts - run: npm run lint + validate-components: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14.x' + - run: npm ci + - run: npm run validate + test: runs-on: ubuntu-latest strategy: @@ -56,8 +66,6 @@ jobs: uses: actions/checkout@v2 - name: Install dependencies and run build scripts run: npm ci - - name: Validate components files - run: npm run validate - name: Type-check tests run: npm run test:ts - name: Run unit tests