From 05f99ad8973d6213bd69ba78877230dfcca626fe Mon Sep 17 00:00:00 2001 From: brianschnee Date: Sat, 6 Jun 2026 18:40:07 -0400 Subject: [PATCH] ci: add github actions --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c395be8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + verify: + name: Verify + runs-on: ubuntu-24.04 + + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 8.15.6 + + - name: Setup Node + uses: actions/setup-node@v5 + with: + node-version-file: .nvmrc + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Lint + run: pnpm lint + + - name: Audit dependencies + run: pnpm audit --audit-level moderate + + - name: Build + run: pnpm build