Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update Typedoc and regenerate references (#1994)
* generated new services reference * changed from automatic push to automated pull request * updated typedoc, regenerated JS Client reference * regenerated the reference after updating typedoc * added action for js client
- Loading branch information
1 parent
6663a62
commit 02d5c1d
Showing
630 changed files
with
21,028 additions
and
16,153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Generate JS Client Reference | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
paths: | ||
- packages/medusa-js/src/resources/** | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- "master" | ||
paths: | ||
- packages/medusa-js/src/resources/** | ||
jobs: | ||
services: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@0.9.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2.3.5 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2.4.1 | ||
with: | ||
node-version: "14" | ||
cache: "yarn" | ||
|
||
- name: Install dependencies | ||
uses: ./.github/actions/cache-deps | ||
with: | ||
extension: reference | ||
|
||
- name: Build Packages | ||
run: yarn build | ||
|
||
- name: Generate Services Reference | ||
run: yarn generate:services | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
commit-message: 'docs: Generated JS Client Reference (automated)' | ||
base: 'master' | ||
title: 'docs: Generated JS Client Reference (automated)' | ||
labels: 'type: docs' | ||
add-paths: docs/content/references/js-client/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.