Skip to content

Commit

Permalink
[CI] Set up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lexisother committed Jun 12, 2024
1 parent dba33b4 commit 0c1f2c6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on: [push, pull_request, workflow_dispatch]

env:
FORCE_COLOR: true

jobs:
build:
name: Typechecking & linting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Node.JS
uses: actions/setup-node@v1
with:
node-version: '20.x'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Typecheck
run: pnpm run check

- name: Check linting
run: pnpm run lint

- name: Check formatting
run: pnpm run check-fmt

0 comments on commit 0c1f2c6

Please sign in to comment.