diff --git a/.github/workflows/dashboard-ci.yml b/.github/workflows/dashboard-ci.yml new file mode 100644 index 0000000..c4a8d95 --- /dev/null +++ b/.github/workflows/dashboard-ci.yml @@ -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 diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index 9cafcd3..dac8301 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -19,7 +19,7 @@ on: jobs: ci: - name: Server CI Checks + name: Test & Check Code Quality runs-on: ubuntu-latest steps: - name: Checkout Code diff --git a/dashboard/.prettierignore b/dashboard/.prettierignore index f09108c..b55393d 100644 --- a/dashboard/.prettierignore +++ b/dashboard/.prettierignore @@ -1,4 +1,6 @@ -.svelte-kit +.svelte-kit/ +build/ +node_modules/ package-lock.json pnpm-lock.yaml yarn.lock