diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 26609ec159..cd020f4cb2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,6 +14,7 @@ jobs: with: filters: | src: + - '.github/**' - 'src/**' - 'test/**' - '.github/**/*.yaml' @@ -99,7 +100,7 @@ jobs: fail-fast: false matrix: node: ['16.x'] - ts: ['4.1', '4.2', '4.3', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9.2-rc'] + ts: ['4.2', '4.3', '4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5.0'] steps: - name: Checkout repo uses: actions/checkout@v2 @@ -128,6 +129,7 @@ jobs: run: | yarn tsc --version yarn check-types + yarn test:typecheck yarn test:types test-published-artifact: diff --git a/package.json b/package.json index 910f50ccf8..a174c2ca40 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "test:types": "tsc -p test/typescript && echo \"Typetests passed\"", "test:watch": "vitest", "test:cov": "vitest --coverage", + "test:typecheck": "tsc -p test && echo \"Types passed\"", "build": "tsup", "prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test", "prepack": "yarn build",