DEV Community

Discussion on: CI ready e2e tests for Angular with Cypress and TypeScript in under 60 minutes

Collapse
francisrod01 profile image
Francis Rodrigues

How can I run these steps using this test suit?

    steps:
      - name: Testing w/ karma by ChromeHeadless
        run: npm test -- --sourceMap=false --browsers=ChromeHeadless --watch=false

      - name: Building the project as production
        run: npm run build:prod
        env:
          FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
          FIREBASE_AUTH_DOMAIN: ${{ secrets.FIREBASE_AUTH_DOMAIN }}
Enter fullscreen mode Exit fullscreen mode