diff --git a/.github/workflows/continous-integration.yml b/.github/workflows/continous-integration.yml index df948e02..26ca0a98 100644 --- a/.github/workflows/continous-integration.yml +++ b/.github/workflows/continous-integration.yml @@ -6,6 +6,10 @@ jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ng-toolkit + steps: - name: Checkout ✅ uses: actions/checkout@v3 @@ -23,4 +27,4 @@ jobs: run: npm run build - name: Test 📋 - run: npm run test \ No newline at end of file + run: npm run test:prod \ No newline at end of file diff --git a/package.json b/package.json index 34a46221..c7417f6a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", - "test": "ng test" + "test": "ng test", + "build:prod": "ng build --prod", + "test:prod": "ng test --browsers=ChromeHeadless --watch=false --code-coverage" }, "private": true, "dependencies": {