Skip to content

Commit

Permalink
Initial workflow with funding & lint/tscheck settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Jan 7, 2024
1 parent e5a9f71 commit 22726b8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: pheralb
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: ⚙️ Check

on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Run linter
run: |
pnpm run lint
env:
SKIP_ENV_VALIDATION: true

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup pnpm 8
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Run typecheck
run: pnpm run typecheck

0 comments on commit 22726b8

Please sign in to comment.