mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: small fixes (#11797)
This commit is contained in:
parent
6e59e357d2
commit
67d6e89021
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -357,7 +357,7 @@ jobs:
|
|||||||
path: puppeteer-test-installation-latest.tgz
|
path: puppeteer-test-installation-latest.tgz
|
||||||
|
|
||||||
installation-test:
|
installation-test:
|
||||||
name: ${{ matrix.pkg_manager }} installation on ${{ matrix.os }} (${{ matrix.node }})
|
name: ${{ matrix.pkg_manager }} installation on ${{ matrix.os }}
|
||||||
needs: installation-test-build
|
needs: installation-test-build
|
||||||
if: ${{ !startsWith(github.ref_name, 'release-please') }}
|
if: ${{ !startsWith(github.ref_name, 'release-please') }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@ -387,7 +387,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version-file: ${{ needs.installation-test-build.node-version }}
|
node-version: ${{ needs.installation-test-build.outputs.node-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: ${{ matrix.pkg_manager }} install
|
run: ${{ matrix.pkg_manager }} install
|
||||||
- name: Test
|
- name: Test
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"build:docs": "wireit",
|
"build:docs": "wireit",
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"build:test": "wireit",
|
"build:test": "wireit",
|
||||||
"clean": "../../tools/clean.js",
|
"clean": "../../tools/clean.mjs",
|
||||||
"test": "wireit"
|
"test": "wireit"
|
||||||
},
|
},
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"description": "Puppeteer Angular schematics",
|
"description": "Puppeteer Angular schematics",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../../tools/clean.js",
|
"clean": "../../tools/clean.mjs",
|
||||||
"dev:test": "npm run test --watch",
|
"dev:test": "npm run test --watch",
|
||||||
"dev": "npm run build --watch",
|
"dev": "npm run build --watch",
|
||||||
"unit": "wireit"
|
"unit": "wireit"
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"build:docs": "wireit",
|
"build:docs": "wireit",
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"check": "tsx tools/ensure-correct-devtools-protocol-package",
|
"check": "tsx tools/ensure-correct-devtools-protocol-package",
|
||||||
"clean": "../../tools/clean.js",
|
"clean": "../../tools/clean.mjs",
|
||||||
"prepack": "wireit",
|
"prepack": "wireit",
|
||||||
"unit": "wireit"
|
"unit": "wireit"
|
||||||
},
|
},
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build:docs": "wireit",
|
"build:docs": "wireit",
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../../tools/clean.js",
|
"clean": "../../tools/clean.mjs",
|
||||||
"postinstall": "node install.mjs",
|
"postinstall": "node install.mjs",
|
||||||
"prepack": "wireit"
|
"prepack": "wireit"
|
||||||
},
|
},
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../../tools/clean.js"
|
"clean": "../../tools/clean.mjs"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build": {
|
"build": {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../../tools/clean.js",
|
"clean": "../../tools/clean.mjs",
|
||||||
"test": "mocha"
|
"test": "mocha"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../tools/clean.js"
|
"clean": "../tools/clean.mjs"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build": {
|
"build": {
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
const {exec} = require('child_process');
|
/**
|
||||||
const {readdirSync} = require('fs');
|
* @license
|
||||||
|
* Copyright 2022 Google Inc.
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {exec} from 'child_process';
|
||||||
|
import {readdirSync} from 'fs';
|
||||||
|
|
||||||
exec(
|
exec(
|
||||||
`git clean -Xf ${readdirSync(process.cwd())
|
`git clean -Xf ${readdirSync(process.cwd())
|
@ -8,7 +8,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../clean.js"
|
"clean": "../clean.mjs"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build": {
|
"build": {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"clean": "../clean.js"
|
"clean": "../clean.mjs"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build": {
|
"build": {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wireit",
|
"build": "wireit",
|
||||||
"test": "wireit",
|
"test": "wireit",
|
||||||
"clean": "../clean.js"
|
"clean": "../clean.mjs"
|
||||||
},
|
},
|
||||||
"wireit": {
|
"wireit": {
|
||||||
"build": {
|
"build": {
|
||||||
|
Loading…
Reference in New Issue
Block a user