diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3a4e8cf8..fed1fea8 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -43,7 +43,7 @@ jobs: - name: Install dependencies run: npm ci - - name: Run tests and collect coverage + - name: Run unit/integration tests and collect coverage run: npm run test - name: Upload coverage to Codecov if: ${{ runner.os == 'macOS' }} @@ -51,6 +51,10 @@ jobs: with: files: coverage/lcov.info token: ${{ secrets.CODECOV_TOKEN }} + - name: Build app + run: npm run build + - name: Run e2e tests + run: npm run playwright end: name: End State ✅✅✅ diff --git a/package.json b/package.json index f480b6e3..d7b7cfce 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "start:electron:nodemon": "nodemon --verbose", "start:electron:dev": "npm-run-all -s build:electron:dev start:electron:nodemon", "start:electron": "sleep 2 && npm-run-all -p build:electron:dev:watch start:electron:dev", - "test": "jest --config jest.config.json && npm run playwright", + "test": "jest --config jest.config.json", "preplaywrite": "npm run build", "playwright": "playwright test", "postinstall": "electron-builder install-app-deps",