aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: c0bd757e01e76bc58dde28cfad87e0a58e25a38c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  validate:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - uses: pnpm/action-setup@v4

      - uses: actions/setup-node@v4
        with:
          node-version: 22
          cache: pnpm

      - name: Install
        run: pnpm install --frozen-lockfile

      # - name: Check
      #   run: pnpm run check:ci

      - name: Test
        run: pnpm run test:unit

      - name: Build
        run: pnpm run build