diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..9217f21 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: pheralb \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..49872e9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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