From 8fb6f5b11d222501fb205298f1f2088223894c49 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Wed, 13 Nov 2024 08:22:58 +0100 Subject: [PATCH] chore: add GitHub action to run the build --- .github/workflows/checks.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 9dfa42e70c..e58e18c793 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -25,3 +25,5 @@ jobs: run: npm install - name: Run Healthcheck run: npm run healthcheck + - name: Build the application + run: npm run build diff --git a/package.json b/package.json index 765c868597..2d9f0f0ba4 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "build": "next build", "start": "next start", "typecheck": "tsc", - "healthcheck": "npm run typecheck && npm run lint:check && npm run build", + "healthcheck": "npm run typecheck && npm run lint:check", "lint:check": "./node_modules/.bin/eslint ./app", "lint:fix": "eslint . --ext .ts,.tsx -c .eslintrc.cjs --fix", "format:check": "./node_modules/.bin/prettier --check ./app",