mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: rename actions
This commit is contained in:
parent
3a41cd7f32
commit
4ba9950cc5
@ -1,4 +1,4 @@
|
|||||||
name: run-checks
|
name: CI
|
||||||
|
|
||||||
# Declare default permissions as read only.
|
# Declare default permissions as read only.
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
@ -16,7 +16,7 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux-main-checks:
|
linux:
|
||||||
# https://github.com/actions/virtual-environments#available-environments
|
# https://github.com/actions/virtual-environments#available-environments
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@ -189,7 +189,7 @@ jobs:
|
|||||||
timeout_minutes: 10
|
timeout_minutes: 10
|
||||||
command: npm run funit
|
command: npm run funit
|
||||||
|
|
||||||
linux-headful-checks:
|
linux-headful:
|
||||||
# https://github.com/actions/virtual-environments#available-environments
|
# https://github.com/actions/virtual-environments#available-environments
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@ -227,7 +227,7 @@ jobs:
|
|||||||
command: xvfb-run --auto-servernum npm run unit
|
command: xvfb-run --auto-servernum npm run unit
|
||||||
timeout_minutes: 10
|
timeout_minutes: 10
|
||||||
|
|
||||||
chrome-headless-checks:
|
chrome-headless:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
2
.github/workflows/pre-release.yml
vendored
2
.github/workflows/pre-release.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
- release-please-*
|
- release-please-*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-publish:
|
pre-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
26
.github/workflows/publish.yml
vendored
26
.github/workflows/publish.yml
vendored
@ -6,33 +6,7 @@ on:
|
|||||||
- v*
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: main
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
node utils/generate_version_file.js
|
|
||||||
IS_PRE_RELEASE=1 npm run doc
|
|
||||||
- name: Configure git
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'actions-bot'
|
|
||||||
git config --global user.email '<github-actions-bot@google.com>'
|
|
||||||
- name: Commit and push
|
|
||||||
run: |
|
|
||||||
git add -A
|
|
||||||
git commit -m "chore: freeze current version in code"
|
|
||||||
git push
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: pre-publish
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
1
.github/workflows/scorecards-analysis.yml
vendored
1
.github/workflows/scorecards-analysis.yml
vendored
@ -1,4 +1,5 @@
|
|||||||
name: Scorecards supply-chain security
|
name: Scorecards supply-chain security
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Only the default branch is supported.
|
# Only the default branch is supported.
|
||||||
branch_protection_rule:
|
branch_protection_rule:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
name: run-tot-checks
|
name: ToT CI
|
||||||
|
|
||||||
# Checks Puppeteer against the latest ToT build of Chromium.
|
# Checks Puppeteer against the latest ToT build of Chromium.
|
||||||
# Declare default permissions as read only.
|
# Declare default permissions as read only.
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
@ -11,7 +12,7 @@ on:
|
|||||||
- cron: '0 8 * * *'
|
- cron: '0 8 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux-tot-checks:
|
linux:
|
||||||
# https://github.com/actions/virtual-environments#available-environments
|
# https://github.com/actions/virtual-environments#available-environments
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
Loading…
Reference in New Issue
Block a user