From dc06e013e700708721f719b4cd91215c8ed4ca6d Mon Sep 17 00:00:00 2001 From: Jayden Seric Date: Tue, 2 Jul 2024 09:45:25 +1000 Subject: [PATCH] Fix the package test script in the GitHub Actions CI environment. --- .github/workflows/ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b8cba6..aca08b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,5 +14,16 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: npm install and test - run: npm install-test + - name: npm install + run: npm install + - name: ESLint + run: npm run eslint + - name: Prettier + run: npm run prettier + - name: Type check + run: npm run types + - name: Tests + shell: bash + run: | + shopt -s globstar + npm run tests