Skip to content

Commit

Permalink
feat(apidocs): install dependencies for example app
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandkakonyi committed Oct 9, 2023
1 parent 6da3136 commit 1ea8ab8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate documentation
on:
workflow_call:
secrets:
PLAYER_CI_GH_TOKEN:
GH_TOKEN:
description: GitHub token to access player-ci repo for CI scripts
required: true
GCS_ACCOUNT:
Expand Down Expand Up @@ -37,9 +37,12 @@ jobs:
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'

- name: Install node_modules
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Install dependencies (example/)
run: yarn example install --frozen-lockfile

- name: Detect version using jq
run: |
echo "PCI_BRANCH=$(jq -r '.version' package.json)" >> $GITHUB_ENV
Expand All @@ -52,7 +55,7 @@ jobs:
curl -sS -H "Authorization: token ${GH_TOKEN}" -L https://raw.githubusercontent.com/bitmovin-engineering/player-ci/master/install.sh | bash
- name: Upload to CDN
run: node ./ci_scripts/src/uploadToGcs.js reactnative ./docs/generated
run: node ./ci_scripts/src/uploadToGcs.js reactnative ../../docs/generated

- name: Purge CDN cache
run: node ./ci_scripts/src/purgeCloudflarePath.js 'reactnative'
3 changes: 2 additions & 1 deletion typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"excludeInternal": true,
"excludeExternals": true,
"includeVersion": true,
"entryPoints": ["./src"]
"entryPoints": ["./src"],
"exclude": ["./example/**/*"]
}

0 comments on commit 1ea8ab8

Please sign in to comment.