Skip to content

Commit

Permalink
update apidoc check process
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeIwaki committed Aug 14, 2022
1 parent 7be5e91 commit 08c528d
Show file tree
Hide file tree
Showing 3 changed files with 30,022 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/check.yml
Expand Up @@ -7,11 +7,29 @@ jobs:
name: documents updated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- run: |
- 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 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
1 change: 1 addition & 0 deletions development/DOCS_VERSION
@@ -0,0 +1 @@
15.3.2

0 comments on commit 08c528d

Please sign in to comment.