From 8eb67992da5e826d81e540114657fc651c6a31d9 Mon Sep 17 00:00:00 2001 From: hemengke <23536175@qq.com> Date: Fri, 17 Nov 2023 15:33:03 +0800 Subject: [PATCH] chore: ci --- .github/workflows/test.yml | 5 ++--- package.json | 2 +- pnpm-lock.yaml | 19 ++++++++++++++----- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f092d6..27663a9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ on: jobs: test: - timeout-minutes: 20 + timeout-minutes: 10 runs-on: ${{ matrix.os }} strategy: matrix: @@ -36,7 +36,7 @@ jobs: node_version: 18 - os: windows-latest node_version: 18 - fail-fast: true + fail-fast: false name: 'Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' @@ -76,7 +76,6 @@ jobs: path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }} - name: Install Playwright - # does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved run: pnpx playwright@1.39.0 install chromium - name: Build diff --git a/package.json b/package.json index 99552c1..1c35a56 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "typescript": "^5.2.2", "vite": "^4.5.0", "vitest": "^0.34.5", - "vitest-e2e": "^0.0.9" + "vitest-e2e": "^0.0.10" }, "engines": { "node": ">=16.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40aded3..17eafff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -130,8 +130,8 @@ importers: specifier: ^0.34.5 version: 0.34.6 vitest-e2e: - specifier: ^0.0.9 - version: 0.0.9(vite@4.5.0)(vitest@0.34.6) + specifier: ^0.0.10 + version: 0.0.10(vite@4.5.0)(vitest@0.34.6) playground: {} @@ -6843,6 +6843,15 @@ packages: mlly: 1.4.2 pathe: 1.1.1 + /playwright-chromium@1.39.0: + resolution: {integrity: sha512-0WVmvn9ppPbcyb2PQherIpzsvJlyjqziCZiAiexTEYSz8k6/+/3wljmFaMRMP1lcv2xKyHDn9yWd/lHb7IzYyA==} + engines: {node: '>=16'} + hasBin: true + requiresBuild: true + dependencies: + playwright-core: 1.39.0 + dev: true + /playwright-core@1.39.0: resolution: {integrity: sha512-+k4pdZgs1qiM+OUkSjx96YiKsXsmb59evFoqv8SKO067qBA+Z2s/dCzJij/ZhdQcs2zlTAgRKfeiiLm8PQ2qvw==} engines: {node: '>=16'} @@ -8312,8 +8321,8 @@ packages: fsevents: 2.3.3 dev: true - /vitest-e2e@0.0.9(vite@4.5.0)(vitest@0.34.6): - resolution: {integrity: sha512-H5H2hEtuQlmWOdZN5uO3PCp6kErQlAbodf1/uNaRtuZXY1XKrOOFhfsoicJN66EUNUcT/jwdp2jFiGlKZ1iZig==} + /vitest-e2e@0.0.10(vite@4.5.0)(vitest@0.34.6): + resolution: {integrity: sha512-b+17/SBaeos/FS8Ubc4lPpysPGynI6LJEhOTRh7fet/wJCOwhcVOg0NiV6ocqKEm7IymM2Gvlpryj6P+JphL9g==} engines: {node: '>=16.0.0'} requiresBuild: true peerDependencies: @@ -8323,7 +8332,7 @@ packages: execa: 8.0.1 fs-extra: 11.1.1 kill-port: 1.6.1 - playwright-core: 1.39.0 + playwright-chromium: 1.39.0 vite: 4.5.0(@types/node@20.8.9) vitest: 0.34.6 dev: true