Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/setup-node@v2.5.1
uses: actions/setup-node@v4
with:
node-version: 14.x
# Comes with npm 6. For newer Node, encountered: https://github.com/npm/cli/issues/3359
- run: npm install -g @redocly/openapi-cli && npm install -g redoc-cli
- run: npm install -g gh-openapi-docs
- name: Check out repository code
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: gh-openapi-docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.2
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
clean: true # Clean only if on the main branch
folder: .
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out head branch
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run OpenAPI Lint Action
uses: nwestfall/openapi-action@v1.0.2
uses: mhiew/redoc-lint-github-action@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
file: openapi/workflow_execution_service.openapi.yaml
Expand All @@ -20,12 +20,12 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Check out head branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
path: head
- name: Check out base branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
path: base
Expand All @@ -40,8 +40,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out head branch
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run OpenAPI Validate Action
uses: char0n/swagger-editor-validate@v1
uses: swaggerexpert/[email protected]
env:
PUPPETEER_NO_SANDBOX: "true"
PUPPETEER_EXECUTABLE_PATH: "/usr/bin/chromium-browser"
with:
definition-file: openapi/workflow_execution_service.openapi.yaml
Loading