diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 07dd410..ed8f5ce 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -29,27 +29,5 @@ jobs: - name: Prettier check run: npm run format - - name: Verify clean tree - run: git diff --exit-code - - build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: backend - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - cache-dependency-path: backend/package-lock.json - - - name: Install dependencies - run: npm ci - - name: Build run: npm run build diff --git a/backend/package.json b/backend/package.json index b93b13e..4e29fd3 100644 --- a/backend/package.json +++ b/backend/package.json @@ -8,7 +8,8 @@ "dev": "nodemon --exec tsx --env-file .env --env-file .env.local src/index.ts", "build": "tsc", "start": "node dist/index.js", - "format": "prettier . --write" + "format": "prettier . --check", + "format:fix": "prettier . --write" }, "keywords": [], "author": "",