Skip to content

Commit

Permalink
Merge pull request #25 from Redocly/add-lint-annotation
Browse files Browse the repository at this point in the history
Add linting with annotations to CI
  • Loading branch information
lornajane authored Apr 18, 2024
2 parents 8fae46d + 6b1b895 commit 0c25634
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/museum-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20.5.1
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run Redocly CLI linting
run: npm run lint
- name: Checkout
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
- name: Install Redocly CLI
run: npm install -g @redocly/cli@latest
- name: Run linting
run: redocly lint --format=github-actions

0 comments on commit 0c25634

Please sign in to comment.