Update ai-powered-git-commits-alternative-for-github-copilot---mistra… #200
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: 🧪 Playwright End To End (e2e) Tests Workflow | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tests_e2e: | |
name: Run end-to-end tests for live website | |
runs-on: ubuntu-latest | |
env: | |
BASE_URL_TESTING: ${{ vars.BASE_URL_TESTING }} | |
REUSE_SERVER: 'true' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install playwright browsers | |
run: npx playwright install --with-deps | |
- name: Run tests | |
run: npx playwright test |