e2e-desktop-nightly-firefox #127
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: e2e-desktop-nightly-firefox | |
| concurrency: | |
| group: e2e-desktop-nightly-firefox | |
| cancel-in-progress: true | |
| on: | |
| schedule: | |
| # run every day at 4am UTC (11PM EST) | |
| - cron: '20 4 * * *' | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| permissions: | |
| contents: read # This is required for actions/checkout | |
| jobs: | |
| desktop-nightly-firefox: | |
| name: prod-desktop-nightly-firefox | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: production | |
| deployment: false | |
| env: | |
| ACCTS_OIDC_EMAIL: ${{ secrets.E2E_ACCTS_OIDC_EMAIL }} | |
| ACCTS_OIDC_PWORD: ${{ secrets.E2E_ACCTS_OIDC_PWORD }} | |
| ACCTS_OIDC_RECOVERY_EMAIL: ${{ secrets.E2E_ACCTS_OIDC_RECOVERY_EMAIL }} | |
| PRIMARY_THUNDERMAIL_EMAIL: ${{ secrets.E2E_PRIMARY_THUNDERMAIL_EMAIL }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| cache-dependency-path: 'test/e2e/package-lock.json' | |
| - name: Install dependencies | |
| run: | | |
| cd ./test/e2e | |
| npm install | |
| - name: BrowserStack Env Setup | |
| uses: browserstack/github-actions/setup-env@master | |
| with: | |
| username: ${{ secrets.BROWSERSTACK_USERNAME }} | |
| access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
| project-name: 'Thunderbird Accounts' | |
| build-name: 'TB Accounts Nightly Tests (Desktop Firefox): BUILD_INFO' | |
| - name: Prod E2E Tests on Desktop Firefox | |
| # don't send GHA failure email if any of the E2E tests fail, can be annoying (I check the jobs each day in BrowserStack) | |
| continue-on-error: true | |
| run: | | |
| cd ./test/e2e | |
| cp .env.prod.example .env | |
| npm run prod-nightly-tests-browserstack-desktop-firefox |