Skip to content

end-to-end tests (macos) #30

end-to-end tests (macos)

end-to-end tests (macos) #30

name: end-to-end tests (macos)
on: [ workflow_dispatch ]
jobs:
run-tests:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
browser: [ safari ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npx browserslist@latest --update-db
- run: ./run-macos-tests
env:
BROWSER: ${{ matrix.browser }}
CI: true
HOST: https://client.staging.perio.do
HOSTNAME: localhost
ORCID_PASSWORD: ${{ secrets.ORCID_PASSWORD }}
ORCID_USER: ${{ secrets.ORCID_USER }}
PORT1: 1337
PORT2: 1338
TESTS: '*/index.js'
TIMEOUT: 60000