diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4bf8bd0ca..0dd76659e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -75,6 +75,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci --no-audit + - run: npm run lint - run: npm test - run: docker build . --file Dockerfile --tag ibf-dashboard:$(date +%s) diff --git a/interfaces/IBF-dashboard/package.json b/interfaces/IBF-dashboard/package.json index f33b1d9d3..505730f40 100644 --- a/interfaces/IBF-dashboard/package.json +++ b/interfaces/IBF-dashboard/package.json @@ -22,8 +22,7 @@ "start:no-install": "ng serve --port=4200", "start:prod": "npm run build:prod && npm run serve:static", "test:dev": "ng test", - "test:only": "ng test --no-watch --browsers=ChromeHeadless", - "test": "npm run lint && npm run test:only", + "test": "npm run test:dev -- --no-watch --browsers=ChromeHeadless", "cypress:open": "cypress open", "cypress:run": "cypress run" },