diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 38f9737..69bf8d2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -29,8 +29,8 @@ jobs: - name: NPM install, build and test run: | npm install - npm run start - npm run test + npm run build --if-present + npm run test --if-present env: MONGO_URI: ${{ secrets.MONGO_URI }} ENCRYPT_JWT_SECRET: ${{ secrets.ENCRYPT_JWT_SECRET }}