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