From 26461fef7a5bcd5f2ff3cacb92136f0f39f93fff Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Wed, 25 Sep 2024 00:11:36 +0200 Subject: [PATCH 1/2] ci(test): use node cache for 'test' job --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e26d5a1c..85a0ad820 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,10 @@ jobs: - run: exit 1 if: ${{ needs.test_matrix.result != 'success' }} - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "lts/*" + cache: npm - run: npm ci - run: npm run lint if: ${{ always() }} From e1beff566810d21aa46d4615d73f4d28a43407c9 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Wed, 25 Sep 2024 00:11:50 +0200 Subject: [PATCH 2/2] ci(test): run tsc via npm run build in CI --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85a0ad820..df5ed8903 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,4 +45,5 @@ jobs: cache: npm - run: npm ci - run: npm run lint + - run: npm run build if: ${{ always() }}