diff --git a/ci.prod.yml b/ci.prod.yml index 5ac8fa6..0fcdddb 100644 --- a/ci.prod.yml +++ b/ci.prod.yml @@ -5,12 +5,12 @@ prepare: command: cd frontend && npm ci - name: install backend dependencies command: cd backend && npm ci +test: + steps: - name: run security audit command: cd backend && npm audit --audit-level moderate - name: run frontend audit command: cd frontend && npm audit --audit-level moderate -test: - steps: - name: run backend tests command: cd backend && npm test - name: run frontend tests diff --git a/ci.qa.yml b/ci.qa.yml index be72e12..f57f55f 100644 --- a/ci.qa.yml +++ b/ci.qa.yml @@ -5,12 +5,12 @@ prepare: command: cd frontend && npm install - name: install backend dependencies command: cd backend && npm install +test: + steps: - name: run linting command: cd backend && npm run lint - name: run frontend linting command: cd frontend && npm run lint -test: - steps: - name: run backend tests command: cd backend && npm test - name: run frontend tests