Repository navigation
Bump qltysh/qlty-action/install in the github-actions-patching group … #11
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
| # eustasy/.Normal 4.0beta10 | |
| name: "Normal: JS / TS" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "**.js" | |
| - "**.ts" | |
| - "**.mjs" | |
| - "**.cjs" | |
| - "**.mts" | |
| - "**.cts" | |
| - ".github/workflows/js.yml" | |
| - ".qlty/configs/oxlint.json" | |
| - ".qlty/configs/.prettierrc.json" | |
| - ".qlty/qlty.toml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "**.js" | |
| - "**.ts" | |
| - "**.mjs" | |
| - "**.cjs" | |
| - "**.mts" | |
| - "**.cts" | |
| - ".github/workflows/js.yml" | |
| - ".qlty/configs/oxlint.json" | |
| - ".qlty/configs/.prettierrc.json" | |
| - ".qlty/qlty.toml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| js: | |
| name: Lint + format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| # cache: npm | |
| #- name: Install dependencies | |
| # run: npm ci | |
| - uses: qltysh/qlty-action/install@08a0a862c159eae9b9003081da6663d96efef637 # v2.3.0 | |
| - name: Lint (oxc, knip) | |
| run: qlty check --all --no-formatters --filter=oxc,knip | |
| - name: Format check (prettier) | |
| run: git ls-files -- '*.js' '*.ts' '*.mjs' '*.cjs' '*.mts' '*.cts' | xargs -r qlty check --filter=prettier |