From 33ddfb68eb8d6b8323203e5f59d4516707dce818 Mon Sep 17 00:00:00 2001 From: nguyenbanhducA1K51 Date: Tue, 28 Nov 2023 04:43:21 +0000 Subject: [PATCH] build artifact --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9d8e1b2..43b5255 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,7 +22,7 @@ jobs: echo "${{ secrets.ENV_FILE }}" > .env - run: npm install - run: npm install --prefix frontend - - run: npm run build --if-present + - run: npm test deploy: needs: [test] @@ -43,6 +43,7 @@ jobs: git pull origin master npm install npm install --prefix frontend + npm run build --if-present pm2 start npm --name "dining" -- run server