From 0664f12afe9d2e1056d6462cc3901de3b37f0dcb Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Fri, 10 Nov 2023 08:58:22 +0100 Subject: [PATCH] build: fix checks --- .github/workflows/checks.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f49335d..dff3be0 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,7 +13,7 @@ jobs: - name: Prepare uses: ./.github/actions/prepare - name: Build - run: npm run build --workspaces + run: npm run build format: runs-on: ubuntu-latest diff --git a/package.json b/package.json index eee7cf7..745ae5e 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ ], "scripts": { "format": "prettier . --write", + "format:check": "prettier --check .", "build": "node rmdir.mjs && node esbuild.mjs", "dev": "node rmdir.mjs && NODE_ENV=development node esbuild.mjs", "lint": "eslint --max-warnings 0 src/**/*"