From cc0e5227921e842a789bd1dcd4a229121fbd788a Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 20 Apr 2024 09:12:31 +1200 Subject: [PATCH] ci: update matrix node version conditions --- .github/workflows/validate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6d969e2..924c20b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -54,7 +54,7 @@ jobs: run: npm install --no-save --force @testing-library/dom@${{ matrix.testing-library-dom }} - name: Install TypeScript v4 - if: ${{ startsWith(matrix.node, 12) }} + if: ${{ matrix.node == '12.x' }} run: npm install --no-save --force typescript@4 - name: ▶️ Run validate script (without linting) @@ -66,7 +66,7 @@ jobs: run: npm run validate - name: ▶️ Ensure docs are up-to-date - if: ${{ matrix.eslint == 8 && matrix.node == 16 }} + if: ${{ matrix.eslint == 8 }} run: npm run lint:generate-readme-table - name: ⬆️ Upload coverage report