Skip to content

build(deps-dev): update rspec requirement from ~> 3.12.0 to ~> 3.13.0 #376

build(deps-dev): update rspec requirement from ~> 3.12.0 to ~> 3.13.0

build(deps-dev): update rspec requirement from ~> 3.12.0 to ~> 3.13.0 #376

Workflow file for this run

name: Check
on: [pull_request]
jobs:
check:
name: documents updated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- uses: actions/checkout@v3
with:
fetch-depth: 0
path: puppeteer
repository: puppeteer/puppeteer
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Check puppeteer.api.json is updated
run: |
cd puppeteer
git checkout puppeteer-core-v$(cat ../development/DOCS_VERSION)
npm install && npm run build
cd ../
cp puppeteer/docs/puppeteer.api.json development/puppeteer.api.json
rm -rf puppeteer
git diff --exit-code
- name: Check api_coverage doc is updated
run: |
bundle exec ruby development/generate_api_coverage.rb
git diff --exit-code