various scripts updates #138
This file contains hidden or 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: PR Review | |
| on: pull_request | |
| jobs: | |
| validate: | |
| name: Validate apps | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: python3 -m pip install --upgrade pip jsonschema pillow | |
| - name: Run scripts | |
| run: python3 ./validate.py | |
| eslint: | |
| name: ESLint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run eslint | |
| uses: reviewdog/action-eslint@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| level: error | |
| fail_on_error: true | |
| reporter: github-pr-review | |
| eslint_flags: '-c .eslintrc.yml ./**/*.js' |