mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
chore: remove puppeteer
This commit is contained in:
parent
e758e7ed50
commit
5cb0c73572
11
.github/actions/setup-and-cache/action.yml
vendored
11
.github/actions/setup-and-cache/action.yml
vendored
@ -29,10 +29,8 @@ runs:
|
||||
const pattern = (name) => new RegExp(name + ':\\\s+specifier: [\\\s\\\w\\\.^]+version: (\\\d+\\\.\\\d+\\\.\\\d+)');
|
||||
const cypressVersion = lockfile.match(pattern('cypress'))[1];
|
||||
const playwrightVersion = lockfile.match(pattern('playwright'))[1];
|
||||
const puppeteerVersion = lockfile.match(pattern('puppeteer-core'))[1];
|
||||
console.log('CYPRESS_VERSION=' + cypressVersion);
|
||||
console.log('PLAYWRIGHT_VERSION=' + playwrightVersion);
|
||||
console.log('PUPPETEER_VERSION=' + puppeteerVersion);
|
||||
"
|
||||
)" >> $GITHUB_OUTPUT
|
||||
|
||||
@ -65,12 +63,3 @@ runs:
|
||||
key: ${{ runner.os }}-playwright-${{ steps.resolve-package-versions.outputs.PLAYWRIGHT_VERSION }}
|
||||
restore-keys: |
|
||||
${{ 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-
|
||||
|
||||
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -17,7 +17,6 @@ env:
|
||||
VITEST_SEGFAULT_RETRY: 3
|
||||
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.cache/ms-playwright
|
||||
CYPRESS_CACHE_FOLDER: ${{ github.workspace }}/.cache/Cypress
|
||||
PUPPETEER_DOWNLOAD_PATH: ${{ github.workspace }}/.cache/Puppeteer
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
{
|
||||
"exclude": [
|
||||
"vue",
|
||||
"puppeteer",
|
||||
"pretty-format"
|
||||
],
|
||||
"packageMode": {
|
||||
|
||||
@ -6,7 +6,6 @@ import { notNullish } from '../packages/vitest/src/utils'
|
||||
|
||||
const noOnlinePlayground = [
|
||||
'playwright',
|
||||
'puppeteer', // e2e doesn't work in StackBlitz
|
||||
]
|
||||
|
||||
async function run() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user