mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 20:51:18 +00:00
initalized project
This commit is contained in:
parent
1287a050a9
commit
211139149f
23 changed files with 2923 additions and 111 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]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
name: Build, Lint, Test
|
||||
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 ci
|
||||
|
||||
- name: 🔍 Lint code
|
||||
run: npm run lint --workspaces=false
|
||||
|
||||
- name: 💅 Check formatting
|
||||
run: npm run prettier:check --workspaces=false
|
||||
|
||||
- name: 🧪 Run tests
|
||||
run: npm test --workspaces=false
|
||||
|
||||
- name: 🏗 Build Next.js app
|
||||
run: npm run build --workspace=apps/web
|
||||
Loading…
Add table
Add a link
Reference in a new issue