mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
see comments
This commit is contained in:
parent
a9fdcf9fe5
commit
6dd4587818
9 changed files with 253 additions and 57 deletions
37
.github/workflows/ci.yml
vendored
Normal file
37
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: CI Pipeline for S3-Kuma
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, dev]
|
||||
pull_request:
|
||||
branches: [dev]
|
||||
|
||||
env:
|
||||
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY }}
|
||||
SUPABASE_SECRET_KEY: ${{ secrets.SUPABASE_SECRET_KEY }}
|
||||
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
name: Build, Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: 🧩 Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🛠 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
|
||||
- name: 📦 Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: 🔍 Lint code
|
||||
run: npm run lint --workspaces=false
|
||||
|
||||
- name: 🏗 Build Next.js app
|
||||
run: npm run build
|
||||
Loading…
Add table
Add a link
Reference in a new issue