yup
Some checks failed
CI / Lint & Typecheck (push) Failing after 2m19s
CI / Test (routes) (push) Failing after 9s
CI / Test (security) (push) Failing after 10s
CI / Test (services) (push) Failing after 10s
CI / Test (unit) (push) Failing after 9s
CI / Test (integration) (push) Failing after 9s
CI / Test Coverage (push) Failing after 39s
CI / Build (push) Has been skipped
Some checks failed
CI / Lint & Typecheck (push) Failing after 2m19s
CI / Test (routes) (push) Failing after 9s
CI / Test (security) (push) Failing after 10s
CI / Test (services) (push) Failing after 10s
CI / Test (unit) (push) Failing after 9s
CI / Test (integration) (push) Failing after 9s
CI / Test Coverage (push) Failing after 39s
CI / Build (push) Has been skipped
This commit is contained in:
42
.github/workflows/ci.yml.chatgpt
vendored
Normal file
42
.github/workflows/ci.yml.chatgpt
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm install -g pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Run lint (optional)
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm test
|
||||
|
||||
docker-build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build Docker images
|
||||
run: docker compose -f docker/docker-compose.yml build
|
||||
Reference in New Issue
Block a user