feat: add support for OpenAI #540
Workflow file for this run
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: Playwright | |
on: | |
pull_request: | |
jobs: | |
integration-tests: | |
name: Integration tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Playwright dependencies | |
run: npx playwright install --with-deps chromium | |
- name: Run Playwright tests | |
run: npx playwright test --update-snapshots --reporter=list | |
env: | |
CI: true | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: test-results | |
path: test-results/ | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update Playwright snapshots |