mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-25 19:40:24 +00:00
* test: playwright github action is updated Co-authored-by: Pranshu Chittora <pranshu@signoz.io>
25 lines
668 B
YAML
25 lines
668 B
YAML
name: Playwright Tests
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
playwright:
|
|
defaults:
|
|
run:
|
|
working-directory: frontend
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "16.x"
|
|
- name: Install dependencies
|
|
run: CI=1 yarn install
|
|
- name: Install Playwright
|
|
run: npx playwright install --with-deps
|
|
- name: Run Playwright tests
|
|
run: yarn playwright
|
|
env:
|
|
# This might depend on your test-runner/language binding
|
|
PLAYWRIGHT_TEST_BASE_URL: ${{ secrets.PLAYWRIGHT_TEST_BASE_URL }}
|