Auto-update banner data (#330) #408
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: 'Check data quality' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
check-data-quality: | |
name: Run eslint and schema validation | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/Iron | |
- uses: oven-sh/setup-bun@v1 | |
name: Setup Bun | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install | |
- name: Run ESLint | |
run: bun lint | |
- name: Validate JSON against schemas | |
run: bun run validate-json |