chore: remove puppeteer

This commit is contained in:
Vladimir Sheremet 2023-11-09 15:55:32 +01:00 committed by Vladimir
parent e758e7ed50
commit 5cb0c73572
4 changed files with 0 additions and 14 deletions

View File

@ -29,10 +29,8 @@ runs:
const pattern = (name) => new RegExp(name + ':\\\s+specifier: [\\\s\\\w\\\.^]+version: (\\\d+\\\.\\\d+\\\.\\\d+)'); const pattern = (name) => new RegExp(name + ':\\\s+specifier: [\\\s\\\w\\\.^]+version: (\\\d+\\\.\\\d+\\\.\\\d+)');
const cypressVersion = lockfile.match(pattern('cypress'))[1]; const cypressVersion = lockfile.match(pattern('cypress'))[1];
const playwrightVersion = lockfile.match(pattern('playwright'))[1]; const playwrightVersion = lockfile.match(pattern('playwright'))[1];
const puppeteerVersion = lockfile.match(pattern('puppeteer-core'))[1];
console.log('CYPRESS_VERSION=' + cypressVersion); console.log('CYPRESS_VERSION=' + cypressVersion);
console.log('PLAYWRIGHT_VERSION=' + playwrightVersion); console.log('PLAYWRIGHT_VERSION=' + playwrightVersion);
console.log('PUPPETEER_VERSION=' + puppeteerVersion);
" "
)" >> $GITHUB_OUTPUT )" >> $GITHUB_OUTPUT
@ -65,12 +63,3 @@ runs:
key: ${{ runner.os }}-playwright-${{ steps.resolve-package-versions.outputs.PLAYWRIGHT_VERSION }} key: ${{ runner.os }}-playwright-${{ steps.resolve-package-versions.outputs.PLAYWRIGHT_VERSION }}
restore-keys: | restore-keys: |
${{ runner.os }}-playwright- ${{ runner.os }}-playwright-
- name: Cache Puppeteer v${{ steps.resolve-package-versions.outputs.PUPPETEER_VERSION }}
uses: actions/cache@v3
id: puppeteer-cache
with:
path: ${{ env.PUPPETEER_DOWNLOAD_PATH }}
key: ${{ runner.os }}-puppeteer-${{ steps.resolve-package-versions.outputs.PUPPETEER_VERSION }}
restore-keys: |
${{ runner.os }}-puppeteer-

View File

@ -17,7 +17,6 @@ env:
VITEST_SEGFAULT_RETRY: 3 VITEST_SEGFAULT_RETRY: 3
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.cache/ms-playwright PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.cache/ms-playwright
CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/.cache/Cypress CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/.cache/Cypress
PUPPETEER_DOWNLOAD_PATH: ${{ github.workspace }}/.cache/Puppeteer
jobs: jobs:
lint: lint:

View File

@ -1,7 +1,6 @@
{ {
"exclude": [ "exclude": [
"vue", "vue",
"puppeteer",
"pretty-format" "pretty-format"
], ],
"packageMode": { "packageMode": {

View File

@ -6,7 +6,6 @@ import { notNullish } from '../packages/vitest/src/utils'
const noOnlinePlayground = [ const noOnlinePlayground = [
'playwright', 'playwright',
'puppeteer', // e2e doesn't work in StackBlitz
] ]
async function run() { async function run() {