mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: update CI (#8614)
This commit is contained in:
parent
0cf4832878
commit
9fa96600f2
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -65,7 +65,11 @@ jobs:
|
||||
- name: Build
|
||||
run: npm run docs
|
||||
- name: Check if autogenerated docs differ
|
||||
run: $(git diff) || exit 1
|
||||
run: |
|
||||
if [[ $(git diff) ]]; then
|
||||
echo "Please update the documentation by running 'npm run docs'"
|
||||
exit 1
|
||||
fi
|
||||
- name: Check if docs need to be deployed
|
||||
id: needs_deploying
|
||||
run: |
|
||||
@ -172,6 +176,7 @@ jobs:
|
||||
if: ${{ steps.test-chrome.conclusion != 'skipped' }}
|
||||
run: npm run test:firefox
|
||||
- name: Test bundling and installation
|
||||
if: ${{ matrix.spec.name == 'Linux' }}
|
||||
run: |
|
||||
# Note: this modifies package.json to test puppeteer-core, so we test this last.
|
||||
npm run test:install
|
||||
|
2
.github/workflows/pre-release.yml
vendored
2
.github/workflows/pre-release.yml
vendored
@ -32,5 +32,5 @@ jobs:
|
||||
git config --global user.name 'release-please[bot]'
|
||||
git config --global user.email '55107282+release-please[bot]@users.noreply.github.com'
|
||||
git add .
|
||||
git commit -m 'chore: generated versioned docs'
|
||||
git commit -m 'chore: generate versioned docs'
|
||||
git push --no-verify
|
||||
|
Loading…
Reference in New Issue
Block a user