Skip to content

Commit 31dc086

Browse files
authored
Merge pull request #234 from ga4gh/fix_sandbox_error
Update CI
2 parents 03c795c + cfdca35 commit 31dc086

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Setup Node.js environment
10-
uses: actions/setup-node@v2.5.1
10+
uses: actions/setup-node@v4
1111
with:
1212
node-version: 14.x
1313
# Comes with npm 6. For newer Node, encountered: https://github.com/npm/cli/issues/3359
1414
- run: npm install -g @redocly/openapi-cli && npm install -g redoc-cli
1515
- run: npm install -g gh-openapi-docs
1616
- name: Check out repository code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
- run: gh-openapi-docs
1919
- name: Deploy 🚀
20-
uses: JamesIves/github-pages-deploy-action@v4.2.2
20+
uses: JamesIves/github-pages-deploy-action@v4
2121
with:
2222
branch: gh-pages
23+
clean: true # Clean only if on the main branch
2324
folder: .

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out head branch
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
- name: Run OpenAPI Lint Action
13-
uses: nwestfall/openapi-action@v1.0.2
13+
uses: mhiew/redoc-lint-github-action@v4
1414
with:
1515
github_token: ${{ secrets.GITHUB_TOKEN }}
1616
file: openapi/workflow_execution_service.openapi.yaml
@@ -20,12 +20,12 @@ jobs:
2020
if: ${{ github.event_name == 'pull_request' }}
2121
steps:
2222
- name: Check out head branch
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
ref: ${{ github.ref }}
2626
path: head
2727
- name: Check out base branch
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
ref: ${{ github.event.pull_request.base.ref }}
3131
path: base
@@ -40,8 +40,11 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: Check out head branch
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444
- name: Run OpenAPI Validate Action
45-
uses: char0n/swagger-editor-validate@v1
45+
uses: swaggerexpert/[email protected]
46+
env:
47+
PUPPETEER_NO_SANDBOX: "true"
48+
PUPPETEER_EXECUTABLE_PATH: "/usr/bin/chromium-browser"
4649
with:
4750
definition-file: openapi/workflow_execution_service.openapi.yaml

0 commit comments

Comments
 (0)