Add method that checks for valid data before pushing #1
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: Check legacy syntax | |
on: | |
- push | |
- pull_request | |
jobs: | |
check-code-style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: cd scripts/admin/check-legacy-syntax && npm ci | |
- name: Check syntax | |
run: cd scripts/admin/check-legacy-syntax && node check-syntax.js |