Skip to content

Commit

Permalink
ci: check schemas in linting
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed May 11, 2023
1 parent f8eb000 commit 770d0c4
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ env:
FORCE_COLOR: "1"

jobs:
LintRepo:
name: Lint Repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: |
yarn install
yarn pre-commit
- name: Assert no unstaged changes
run: git diff --exit-code

Build:
name: Build Editor
Expand Down Expand Up @@ -68,4 +55,9 @@ jobs:
with:
node-version: 16
- run: yarn install
- run: yarn eslint src/ editor/
- name: ESLint
run: yarn eslint src/ editor/
- name: Assert schemas are all up to date
run: |
yarn schemas
diff --exit-code

0 comments on commit 770d0c4

Please sign in to comment.