Commit f334cc45 by Marcus Andersson Committed by GitHub

Docs: generate packages docs before syncing to website (#27879)

* updated to latest version of api-documenter.

* saved lockfile after upgrade.

* adding yarn to docker environment.

* adding packages to trigger paths.

* added steps to workflow for generating docs.

* reverted back to api-documenter 0.9.3
parent a20875bd
......@@ -6,6 +6,7 @@ on:
- master
paths:
- 'docs/sources/**'
- 'packages/grafana-*/**'
jobs:
build:
......@@ -14,6 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: generate-packages-docs
uses: actions/setup-node@v1
id: generate-docs
with:
node-version: '12'
- run: yarn install --pure-lockfile --no-progress
- run: ./scripts/ci-reference-docs-build.sh
- name: publish-to-git
uses: ./.github/actions/gha-publish-to-git
id: publish
......
......@@ -75,6 +75,7 @@
"@emotion/core": "10.0.27",
"@grafana/api-documenter": "0.9.3",
"@grafana/eslint-config": "2.0.3",
"@grafana/api-extractor": "7.10.1",
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1",
"@testing-library/jest-dom": "^5.11.3",
"@testing-library/react": "^10.4.8",
......@@ -205,7 +206,6 @@
"zone.js": "0.7.8"
},
"dependencies": {
"@grafana/api-extractor": "7.10.1",
"@grafana/slate-react": "0.22.9-grafana",
"@reduxjs/toolkit": "1.3.4",
"@torkelo/react-select": "3.0.8",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment