diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7dba19150912..c4bfd0fc96f7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 7daaddd63f036..1b1a1327efe24 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -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