diff --git a/.github/workflows/run-jasmine-tests.yml b/.github/workflows/ci.yml similarity index 80% rename from .github/workflows/run-jasmine-tests.yml rename to .github/workflows/ci.yml index b7ba77e8..ff619548 100644 --- a/.github/workflows/run-jasmine-tests.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Jasmine Tests +name: CI on: push: @@ -7,7 +7,8 @@ on: branches: ["master", "develop"] jobs: - run-tests: + quality-gate: + name: Quality gate runs-on: ubuntu-latest defaults: run: @@ -24,11 +25,14 @@ jobs: cache-dependency-path: nav-app/package-lock.json - name: Install - run: npm ci + run: npm ci --ignore-scripts - name: Run Jasmine tests run: npm run test -- --code-coverage --no-watch --browsers ChromeHeadlessCI + - name: Verify production build + run: npm run build -- --configuration production --aot=false + - name: Archive code coverage results uses: actions/upload-artifact@v4 if: always()