From ae0119e8dc444549e6a53765bb52cea53337df79 Mon Sep 17 00:00:00 2001 From: Xuty Date: Mon, 18 Nov 2024 21:40:31 +0100 Subject: [PATCH] fix(server): fix npm start command --- .github/workflows/server.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index a921de3..d468559 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -10,6 +10,7 @@ on: - 'src/openapi/**' - 'src/server/**' - 'tests/**' + - 'package.json' jobs: build: diff --git a/package.json b/package.json index 555a8d5..7672008 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "package:build:mjs": "rm -fr package/mjs/* && tsc -p ./configurations/package/tsconfig-mjs.json && sh ./scripts/package/mjs-formatter.sh", "package:build": "npm run package:build:cjs && npm run package:build:mjs && ./scripts/package/fixup.sh", "start:local": "npm run server:build && node --env-file=.env ./server/cjs/index.js", - "start": "./server/cjs/index.js", + "start": "node ./server/cjs/index.js", "clean": "npm prune --production", "test:ts:server": "tsc --noEmit -p ./configurations/server/tsconfig-cjs.json", "test:ts:package": "tsc --noEmit -p ./configurations/package/tsconfig-cjs.json",