explicitly list tests in workflows #225
This file contains 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: end-to-end tests | |
on: [ push, workflow_dispatch ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm install | |
- run: npx --yes update-browserslist-db@latest | |
- run: npx testcafe --hostname localhost --retry-test-pages --skip-js-errors --selector-timeout 60000 "chrome:headless" browse-periods local-database view-authority | |
env: | |
CI: true | |
HOST: https://client.staging.perio.do |