forked from up-csi/up-csi.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 984 Bytes
/
Copy pathci.yml
File metadata and controls
33 lines (30 loc) · 984 Bytes
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: Code Quality
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
env:
PUBLIC_SUPABASE_URL: ${{ vars.PUBLIC_SUPABASE_URL || 'https://your-supabase-url.supabase.co' }}
PUBLIC_SUPABASE_PUBLISHABLE_KEY: ${{ vars.PUBLIC_SUPABASE_PUBLISHABLE_KEY || 'your-supabase-publishable-key' }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v5
with:
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
node-version: 24
- name: Install Dependencies
run: pnpm install
- name: Check Formatters
run: pnpm fmt
- name: Run All Lints in Parallel
run: pnpm lint