From 01a3eac62efbe97a5481461cf01ca4e0c0a535b9 Mon Sep 17 00:00:00 2001 From: Neo Ryo Date: Fri, 12 Apr 2024 11:53:21 +0200 Subject: [PATCH] pre push test again --- .github/hooks/pre-push | 3 ++- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/hooks/pre-push b/.github/hooks/pre-push index 212c4ba23..ac77a6d5a 100644 --- a/.github/hooks/pre-push +++ b/.github/hooks/pre-push @@ -1 +1,2 @@ -#!/usr/bin/env bash \ No newline at end of file +#!/usr/bin/env bash +yarn build \ No newline at end of file diff --git a/package.json b/package.json index 3602e529d..503a03072 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,9 @@ "migration:revert-dev": "rm -rf dist && yarn build:server && npx typeorm migration:revert -d dist/server/utils/data-source.js || true", "typeorm": "typeorm-ts-node-commonjs" }, + "pre-push": [ + "build" + ], "jest": { "testEnvironment": "node", "verbose": true, @@ -196,8 +199,5 @@ "web-vitals": "^2.1.4", "winston": "^3.8.0" }, - "packageManager": "yarn@3.4.1", - "pre-push": [ - "build" - ] + "packageManager": "yarn@3.4.1" }