mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-24 10:56:53 +00:00
* ci: 👷 pin Go v1.21 in GH build/push workflows * chore: 💚 update actions/* to v4 --------- Signed-off-by: Prashant Shahi <prashant@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@v4
|
|
- uses: actions/setup-node@v4
|
|
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 }}
|