Skip to content

Commit 77722e6

Browse files
Update gh actions
1 parent d6c5027 commit 77722e6

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/validate-spec.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 14
20+
node-version: 20
2121
registry-url: https://registry.npmjs.org/
2222

2323
- name: Install redoc
2424
run: |
25-
npm install -g redoc-cli
26-
redoc-cli bundle index.yml
25+
npm install -g @redocly/cli
26+
redocly build-docs index.yml
2727
2828
- name: Revert changes
2929
if: ${{ false }}
3030
run: |
3131
npm install -g @openapitools/openapi-generator-cli
32-
openapi-generator-cli validate -i index.yml
32+
openapi-generator-cli validate --recommend -i index.yml

.github/workflows/verify-clients.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
working-directory: python-client
2727
run: |
2828
./update-models.sh
29+
./setup.sh
2930
3031
verify-csharp:
3132
runs-on: ubuntu-latest
@@ -45,6 +46,7 @@ jobs:
4546
working-directory: csharp-client
4647
run: |
4748
./update-models.sh
49+
./setup.sh
4850
4951
verify-js:
5052
runs-on: ubuntu-latest
@@ -63,9 +65,8 @@ jobs:
6365
- name: Verify update JS client
6466
working-directory: js-client
6567
run: |
66-
npm install
6768
./update-models.sh
68-
npm run check-types
69+
./setup.sh
6970
7071
verify-java:
7172
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)