-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'advplyr:master' into bookshelf-refactor-2
- Loading branch information
Showing
97 changed files
with
10,432 additions
and
3,294 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
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,30 @@ | ||
name: API linting | ||
|
||
# Run on pull requests or pushes when there is a change to the OpenAPI file | ||
on: | ||
push: | ||
paths: | ||
- docs/ | ||
pull_request: | ||
paths: | ||
- docs/ | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Check out the repository | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
# Set up node to run the javascript | ||
- name: Set up node | ||
uses: actions/setup-node@v4 | ||
# Install Redocly CLI | ||
- name: Install Redocly CLI | ||
run: npm install -g @redocly/cli@latest | ||
# Perform linting for exploded spec | ||
- name: Run linting for exploded spec | ||
run: redocly lint docs/root.yaml --format=github-actions | ||
# Perform linting for bundled spec | ||
- name: Run linting for bundled spec | ||
run: redocly lint docs/openapi.json --format=github-actions |
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.