diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ff2d99..bf7acaa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,12 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [windows-latest] + node: ['18.18.0'] steps: - name: Checkout code @@ -16,7 +21,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: "18" + node-version: ${{ matrix.node }} - name: Enable Corepack run: | diff --git a/tests/templateSanity.ts b/tests/templateSanity.ts index 6958b2d..ef575c0 100644 --- a/tests/templateSanity.ts +++ b/tests/templateSanity.ts @@ -13,7 +13,7 @@ export const templateSanity = (template: string) => { it("should successfully install all dependencies", async () => { await expect(installDependencies(cwd)).resolves.not.toThrow(); - }, 60_000); + }, 200_000); it("should successfully run typescheck", async () => { await expect(checkTypes(cwd)).resolves.not.toThrow();