stepandel - push - voteagora/agora-next #1163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
run-name: ${{ github.actor }} - ${{ github.event_name }} - ${{ github.repository }} | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
push: | |
branches: | |
- 'main' | |
jobs: | |
swagger_lint: | |
runs-on: ubuntu-latest | |
name: Swagger Editor Validator Remote | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Validate OpenAPI definition | |
uses: char0n/apidom-validate@v1 | |
with: | |
fails-on: 2 | |
definition-file: spec/oas_v1.yaml | |
lint-prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint with Prettier | |
run: yarn check-prettier |