npm: bump @eslint/js from 9.39.2 to 10.0.1 #365
Workflow file for this run
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: Code Quality Checks and formatting | |
| on: | |
| push: | |
| paths-ignore: | |
| - "LICENSE" | |
| - "README.md" | |
| - ".gitignore" | |
| - ".github/" | |
| - "images/" | |
| - "docs/.vitepress/dist/" | |
| pull_request: | |
| paths-ignore: | |
| - "LICENSE" | |
| - "README.md" | |
| - ".gitignore" | |
| - ".github/" | |
| - "images/" | |
| - "docs/.vitepress/dist/" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 18 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run Eslint | |
| run: npx eslint . | |
| prettier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 18 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run Prettier | |
| run: npx prettier --check . |