lint.yml 639 B

12345678910111213141516171819202122232425262728
  1. name: Run linters
  2. on: [push]
  3. env:
  4. PNPM_CACHE_FOLDER: .pnpm-store
  5. HUSKY: 0 # Bypass husky commit hook for CI
  6. jobs:
  7. lint:
  8. name: Lint
  9. runs-on: ubuntu-24.04
  10. strategy:
  11. matrix:
  12. node-version: [20]
  13. steps:
  14. - name: Checkout
  15. uses: actions/checkout@v4
  16. - name: Setup pnpm
  17. uses: pnpm/action-setup@v4
  18. - name: Use Node.js ${{ matrix.node-version }}
  19. uses: actions/setup-node@v4
  20. with:
  21. node-version: ${{ matrix.node-version }}
  22. cache: pnpm
  23. - name: Install dependencies
  24. run: pnpm install
  25. - name: Run Lint
  26. run: pnpm run lint