From 86a8a13cfc94696db1051804c5f98f30ef92bbe3 Mon Sep 17 00:00:00 2001 From: gtmnayan Date: Thu, 11 May 2023 09:18:27 +0545 Subject: [PATCH] actually install playwright dum dum --- .github/workflows/ci.yml | 5 +++++ package.json | 1 + pnpm-lock.yaml | 20 ++++++++++++++++++++ 3 files changed, 26 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb45f685ee..9479e66a08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,11 @@ on: pull_request: permissions: contents: read # to fetch code (actions/checkout) + +env: + # We only install Chromium manually + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1' + jobs: Tests: runs-on: ${{ matrix.os }} diff --git a/package.json b/package.json index 9c2ada6782..a1b005686c 100644 --- a/package.json +++ b/package.json @@ -114,6 +114,7 @@ "devDependencies": { "@ampproject/remapping": "^2.2.1", "@jridgewell/sourcemap-codec": "^1.4.15", + "@playwright/test": "^1.33.0", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed6da5e726..78c0aaea04 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,6 +7,9 @@ devDependencies: '@jridgewell/sourcemap-codec': specifier: ^1.4.15 version: 1.4.15 + '@playwright/test': + specifier: ^1.33.0 + version: 1.33.0 '@rollup/plugin-commonjs': specifier: ^24.1.0 version: 24.1.0(rollup@3.20.2) @@ -277,6 +280,17 @@ packages: fastq: 1.15.0 dev: true + /@playwright/test@1.33.0: + resolution: {integrity: sha512-YunBa2mE7Hq4CfPkGzQRK916a4tuZoVx/EpLjeWlTVOnD4S2+fdaQZE0LJkbfhN5FTSKNLdcl7MoT5XB37bTkg==} + engines: {node: '>=14'} + hasBin: true + dependencies: + '@types/node': 14.14.31 + playwright-core: 1.33.0 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /@puppeteer/browsers@0.4.0(typescript@5.0.4): resolution: {integrity: sha512-3iB5pWn9Sr55PKKwqFWSWjLsTKCOEhKNI+uV3BZesgXuA3IhsX8I3hW0HI+3ksMIPkh2mVYzKSpvgq3oicjG2Q==} engines: {node: '>=14.1.0'} @@ -2560,6 +2574,12 @@ packages: engines: {node: '>= 6'} dev: true + /playwright-core@1.33.0: + resolution: {integrity: sha512-aizyPE1Cj62vAECdph1iaMILpT0WUDCq3E6rW6I+dleSbBoGbktvJtzS6VHkZ4DKNEOG9qJpiom/ZxO+S15LAw==} + engines: {node: '>=14'} + hasBin: true + dev: true + /prelude-ls@1.1.2: resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} engines: {node: '>= 0.8.0'}