Files
supanextail/.github/workflows/ci.yml
Workflow config file is invalid. Please check your config file: yaml: line 9: did not find expected '-' indicator
2021-11-09 17:48:42 +01:00

26 lines
833 B
YAML

name: SupaNexTail-CI
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on: [deployment_status]
jobs:
e2e:
# only runs this job on successful deploy
if: github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
with:
version: 6.20.3
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: pnpm ci
- name: Install Playwright
run: pnpx playwright install --with-deps
- name: Run Playwright tests
run: pnpm run test
env:
# This might depend on your test-runner/language binding
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}