Skip to content

Commit

Permalink
chore: update CI (#8614)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Jul 1, 2022
1 parent 0cf4832 commit 9fa9660
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -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: |
Expand Down Expand Up @@ -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 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Expand Up @@ -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

0 comments on commit 9fa9660

Please sign in to comment.