chore(deps): Bump the all group with 2 updates (#11557)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
This commit is contained in:
dependabot[bot] 2023-12-18 16:17:08 +01:00 committed by GitHub
parent 4805417a64
commit 2addb8842e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 20 deletions

View File

@ -150,8 +150,8 @@ jobs:
- chrome-new-headless - chrome-new-headless
- chrome-bidi - chrome-bidi
shard: shard:
- 1/2 - 1-2
- 2/2 - 2-2
exclude: exclude:
- os: windows-latest - os: windows-latest
suite: chrome-bidi suite: chrome-bidi
@ -204,10 +204,10 @@ jobs:
run: xvfb-run --auto-servernum npm run test -- --shard '${{ matrix.shard }}' --test-suite ${{ matrix.suite }} --save-stats-to /tmp/artifacts/${{ github.event_name }}_INSERTID.json run: xvfb-run --auto-servernum npm run test -- --shard '${{ matrix.shard }}' --test-suite ${{ matrix.suite }} --save-stats-to /tmp/artifacts/${{ github.event_name }}_INSERTID.json
env: env:
PUPPETEER_EXECUTABLE_PATH: ${{ steps.browser.outputs.executablePath }} PUPPETEER_EXECUTABLE_PATH: ${{ steps.browser.outputs.executablePath }}
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
if: always() if: always()
with: with:
name: test-results name: test-results-${{ matrix.os }}-${{ matrix.suite }}-${{ matrix.shard }}
path: /tmp/artifacts/*.json path: /tmp/artifacts/*.json
chrome-tests-required: chrome-tests-required:
@ -236,10 +236,10 @@ jobs:
- firefox-headful - firefox-headful
- firefox-headless - firefox-headless
shard: shard:
- 1/4 - 1-4
- 2/4 - 2-4
- 3/4 - 3-4
- 4/4 - 4-4
exclude: exclude:
- os: macos-latest - os: macos-latest
suite: firefox-headful suite: firefox-headful
@ -282,10 +282,10 @@ jobs:
- name: Run all tests (for Linux) - name: Run all tests (for Linux)
if: ${{ matrix.os == 'ubuntu-latest' }} if: ${{ matrix.os == 'ubuntu-latest' }}
run: xvfb-run --auto-servernum npm run test -- --shard '${{ matrix.shard }}' --test-suite ${{ matrix.suite }} --save-stats-to /tmp/artifacts/${{ github.event_name }}_INSERTID.json run: xvfb-run --auto-servernum npm run test -- --shard '${{ matrix.shard }}' --test-suite ${{ matrix.suite }} --save-stats-to /tmp/artifacts/${{ github.event_name }}_INSERTID.json
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
if: always() if: always()
with: with:
name: test-results name: test-results-${{ matrix.os }}-${{ matrix.suite }}-${{ matrix.shard }}
path: /tmp/artifacts/*.json path: /tmp/artifacts/*.json
firefox-tests-required: firefox-tests-required:
@ -320,7 +320,7 @@ jobs:
- name: Pack installation test - name: Pack installation test
run: npm pack --workspace @puppeteer-test/installation run: npm pack --workspace @puppeteer-test/installation
- name: Upload installation test - name: Upload installation test
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with: with:
name: installation-test name: installation-test
path: puppeteer-test-installation-latest.tgz path: puppeteer-test-installation-latest.tgz
@ -343,7 +343,7 @@ jobs:
- npm - npm
steps: steps:
- name: Download installation test - name: Download installation test
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4.0.0
with: with:
name: installation-test name: installation-test
- name: Unpack installation test - name: Unpack installation test

View File

@ -39,7 +39,7 @@ jobs:
npm pack -w puppeteer-core npm pack -w puppeteer-core
npm pack -w puppeteer npm pack -w puppeteer
- name: Upload Puppeteer build - name: Upload Puppeteer build
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with: with:
name: puppeteer-build name: puppeteer-build
if-no-files-found: error if-no-files-found: error
@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download Puppeteer build - name: Download Puppeteer build
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4.0.0
with: with:
name: puppeteer-build name: puppeteer-build
- name: Set up Node.js - name: Set up Node.js

View File

@ -64,7 +64,7 @@ jobs:
- name: Analyze issue - name: Analyze issue
id: issue-analysis id: issue-analysis
run: echo $ISSUE_BODY | ./tools/analyze_issue.mjs >> $GITHUB_OUTPUT run: echo $ISSUE_BODY | ./tools/analyze_issue.mjs >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with: with:
name: issue-files name: issue-files
path: out/ path: out/
@ -79,7 +79,7 @@ jobs:
PACKAGE_MANAGER: ${{ needs.analyze-issue.outputs.packageManager }} PACKAGE_MANAGER: ${{ needs.analyze-issue.outputs.packageManager }}
NODE_VERSION: ${{ needs.analyze-issue.outputs.nodeVersion }} NODE_VERSION: ${{ needs.analyze-issue.outputs.nodeVersion }}
steps: steps:
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 - uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4.0.0
with: with:
name: issue-files name: issue-files
path: '.' path: '.'
@ -102,7 +102,7 @@ jobs:
run: ${{ env.PACKAGE_MANAGER }} run verify run: ${{ env.PACKAGE_MANAGER }} run verify
env: env:
DEBUG: 'puppeteer:*' DEBUG: 'puppeteer:*'
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 - uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
if: success() || failure() if: success() || failure()
with: with:
name: runtime-output name: runtime-output

View File

@ -41,7 +41,7 @@ jobs:
# Upload the results as artifacts (optional). # Upload the results as artifacts (optional).
- name: 'Upload artifact' - name: 'Upload artifact'
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with: with:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif

View File

@ -215,7 +215,7 @@ async function main() {
}); });
if (shard) { if (shard) {
// Shard ID is 1-based. // Shard ID is 1-based.
const [shardId, shards] = shard.split('/').map(s => { const [shardId, shards] = shard.split('-').map(s => {
return Number(s); return Number(s);
}) as [number, number]; }) as [number, number];
const argsLength = args.length; const argsLength = args.length;
@ -228,7 +228,7 @@ async function main() {
throw new Error('Shard did not result in any test files'); throw new Error('Shard did not result in any test files');
} }
console.log( console.log(
`Running shard ${shardId}/${shards}. Picked ${ `Running shard ${shardId}-${shards}. Picked ${
args.length - argsLength args.length - argsLength
} files out of ${specs.length}.` } files out of ${specs.length}.`
); );