Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 0 additions & 55 deletions .github/checks.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Checks

on:
pull_request:
branches:
- "**"
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
verify:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command: ["lint", "type-check", "test", "build"]

name: ${{ matrix.command }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Enable corepack
run: corepack enable pnpm

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

- name: Run ${{ matrix.command }}
run: pnpm ${{ matrix.command }}