Skip to content

Commit

Permalink
ci: add ci workflow for the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinkys committed Nov 1, 2024
1 parent f38b7aa commit d8dea9c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dashboard-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Quality Check Dashboard

on:
workflow_dispatch:

pull_request:
paths:
- "dashboard/**"

push:
branches:
- main
paths:
- "dashboard/**"

jobs:
ci:
name: Check Code Quality
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Dependencies
run: |
cd dashboard
npm install
- name: Run Linting & Formatting Check
run: |
cd dashboard
npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/server-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
ci:
name: Server CI Checks
name: Test & Check Code Quality
runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand Down
4 changes: 3 additions & 1 deletion dashboard/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.svelte-kit
.svelte-kit/
build/
node_modules/
package-lock.json
pnpm-lock.yaml
yarn.lock

0 comments on commit d8dea9c

Please sign in to comment.