Skip to content

chore(ci): add Zizmor check #518

chore(ci): add Zizmor check

chore(ci): add Zizmor check #518

Workflow file for this run

name: Linter checks
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
env:
HUSKY: 0
jobs:
linter:
name: Linter checks
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Fetch Sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js 22.x
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --check-cache --check-resolutions
- name: Check yarn dedupe
run: yarn dedupe --check
- name: Run prettier
run: yarn run fmt:check
- name: Run eslint
run: yarn run lint:ts
- name: Run stylelint
run: yarn run lint:css