From bc9c980a985a3d90a2ec9e42f297261dcc0eead2 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Sun, 1 Oct 2023 21:10:54 -0400 Subject: [PATCH] update ui ci names and levels --- .github/workflows/main.yml | 4 ++-- photon-client/package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1331895037..e2c3d773cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,10 +68,10 @@ jobs: run: npm ci - name: Check Linting - run: npm run lint + run: npm run lint-ci - name: Check Formatting - run: npm run check-format + run: npm run format-ci photon-build-examples: runs-on: ubuntu-22.04 name: "Build Examples" diff --git a/photon-client/package.json b/photon-client/package.json index d5cfb307e4..63a0e080bd 100644 --- a/photon-client/package.json +++ b/photon-client/package.json @@ -9,7 +9,8 @@ "build-only": "vite build", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "format": "prettier --write src/", - "check-format": "prettier --check src/" + "lint-ci": "eslint . --max-warnings 0 --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", + "format-ci": "prettier --check src/" }, "dependencies": { "@fontsource/prompt": "^5.0.5",