Skip to content

Commit

Permalink
ci: run linters
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Dec 30, 2023
1 parent 4ab1529 commit 7d28c01
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run Linters

on:
push:
branches:
- main
pull_request:

jobs:
lint:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true

- name: ESLint
run: pnpm run lint

- name: Types
run: pnpm run typecheck

0 comments on commit 7d28c01

Please sign in to comment.