ci: update actions

This commit is contained in:
jfrazx 2025-03-14 19:43:09 -07:00
parent 607f143861
commit 9f883a5019
No known key found for this signature in database
GPG key ID: 7E72C3BCC0F85A7B
7 changed files with 29 additions and 20 deletions

View file

@ -18,15 +18,22 @@ jobs:
# 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
with:
node-version: 20
cache: 'npm'
# 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