Skip to content

Bump qltysh/qlty-action/install in the github-actions-patching group … #11

Bump qltysh/qlty-action/install in the github-actions-patching group …

Bump qltysh/qlty-action/install in the github-actions-patching group … #11

Workflow file for this run

# 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