Check knex filenames and rename json-yaml-validate.yml → validate.yml for general purposes (#5263)

This commit is contained in:
Louis Lam
2024-10-28 14:20:29 +08:00
committed by GitHub
parent ca094296f2
commit 5ee986c58e
2 changed files with 81 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
name: json-yaml-validate
name: validate
on:
push:
branches:
@@ -26,7 +26,8 @@ jobs:
comment: "true" # enable comment mode
exclude_file: ".github/config/exclude.txt" # gitignore style file for exclusions
check-lang-json:
# General validations
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -34,4 +35,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- run: node ./extra/check-lang-json.js
- name: Validate language JSON files
run: node ./extra/check-lang-json.js
- name: Validate knex migrations filename
run: node ./extra/check-knex-filenames.mjs