Skip to content

Commit

Permalink
(wip) github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lirsacc committed Nov 28, 2023
1 parent 6374349 commit d25dadc
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
id: setup-bun
- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules/
key: ${{ runner.os }}-${{ steps.setup-bun.bun-version }}-node-modules
- name: Install deps
run: bun install
- name: Typecheck
run: bun run typecheck
- name: ESLint
run: bun run lint
- name: Check formatting
run: bun run fmt-check

0 comments on commit d25dadc

Please sign in to comment.