Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/actions/setup/action.yaml

This file was deleted.

22 changes: 13 additions & 9 deletions .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,29 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Setup Node.js & pnpm
uses: ./.github/actions/setup
uses: pnpm/setup@v2
with:
cache: true
install: false

- name: Install dependencies
run: pnpm install --filter=@hallmaster/backend... --frozen-lockfile

- name: Generate Prisma types
run: pnpm --filter=@hallmaster/backend prisma:generate

- name: Run lint
run: pnpm --filter=@hallmaster/backend lint
- parallel:
- name: Run lint
run: pnpm --filter=@hallmaster/backend lint

- name: Run format check
run: pnpm --filter=@hallmaster/backend format
- name: Run format check
run: pnpm --filter=@hallmaster/backend format

- name: Test the build process
run: pnpm --filter=@hallmaster/backend build
- name: Test the build process
run: pnpm --filter=@hallmaster/backend build

- name: Run the tests
run: pnpm --filter=@hallmaster/backend test:cov
Expand All @@ -59,7 +63,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Install trusted certificat
run: |
Expand Down
65 changes: 22 additions & 43 deletions .github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,75 +7,54 @@ on:
pull_request:

jobs:
check:
name: Check
check-lint-format:
name: check, lint and format
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Node.js & pnpm
uses: ./.github/actions/setup
uses: pnpm/setup@v2
with:
cache: true
install: false

- name: Install dependencies
run: pnpm --filter @hallmaster/frontend... install --frozen-lockfile --prefer-offline

- name: Check
run: pnpm --filter @hallmaster/frontend run check --fail-on-warnings

lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Node.js & pnpm
uses: ./.github/actions/setup

- name: Install dependencies
run: pnpm --filter @hallmaster/frontend... install --frozen-lockfile --prefer-offline
- parallel:
- name: Check
run: pnpm --filter @hallmaster/frontend run check --fail-on-warnings

- name: Lint
run: pnpm --filter @hallmaster/frontend run lint --format github
- name: Lint
run: pnpm --filter @hallmaster/frontend run lint --format github

format:
name: Format check
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Node.js & pnpm
uses: ./.github/actions/setup

- name: Install dependencies
run: pnpm --filter @hallmaster/frontend... install --frozen-lockfile --prefer-offline

- name: Format check
run: pnpm --filter @hallmaster/frontend run format:check
- name: Format check
run: pnpm --filter @hallmaster/frontend run format:check

build:
name: Build
runs-on: ubuntu-latest
needs: [check, lint, format]
needs: [check-lint-format]

steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Setup Node.js & pnpm
uses: ./.github/actions/setup
uses: pnpm/setup@v2
with:
cache: true
install: false

- name: Install dependencies
run: pnpm --filter @hallmaster/frontend... install --frozen-lockfile --prefer-offline

- name: Build
run: pnpm --filter @hallmaster/frontend run build

build-and-push:
name: Build and Push Images
runs-on: ubuntu-latest
Expand All @@ -88,7 +67,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7

- name: Install trusted certificat
run: |
Expand Down
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.28.2",
"devEngines": {
"runtime": {
"name": "node",
"version": "24"
},
"packageManager": {
"name": "pnpm",
"version": "12"
}
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@commitlint/cli": "^20.4.2",
Expand Down
1 change: 0 additions & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@tailwindcss/vite": "^4.3.1",
"@types/d3-shape": "^3.1.8",
"@types/node": "^22.19.11",
"compiler@^5.0.0": "link:svelte/compiler@^5.0.0",
"d3-shape": "^3.2.0",
"es-toolkit": "^1.49.0",
"eventsource-parser": "^3.0.8",
Expand Down
165 changes: 159 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading