Daily #44
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: Daily | |
| on: | |
| schedule: | |
| - cron: '0 6 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: daily | |
| cancel-in-progress: true | |
| jobs: | |
| e2e-tests: | |
| name: E2E tests (nightly) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: Install Puppeteer Chrome | |
| run: npx puppeteer browsers install chrome | |
| - name: Install JBrowse CLI | |
| run: pnpm add -g @jbrowse/cli | |
| - name: Setup JBrowse nightly | |
| run: jbrowse create .test-jbrowse-nightly --nightly | |
| - name: Run E2E tests | |
| run: TEST_JBROWSE_VERSION=nightly pnpm vitest run test/ | |
| - name: Upload screenshots | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: screenshots-nightly | |
| path: test-screenshots/ |