Skip to content

feat(auth): customise IdpProfile page, to add same acceptance button … #870

feat(auth): customise IdpProfile page, to add same acceptance button …

feat(auth): customise IdpProfile page, to add same acceptance button … #870

name: Dev server test
on:
pull_request:
paths:
- "website/**"
- "deploy.py"
- generate_local_test_config.sh
- .github/workflows/node_dev.yml
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-node-dev
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os:
- ubuntu-latest
# - windows-latest
# - macos-latest
exclude:
- os: ${{ github.ref != 'refs/heads/main' && 'macos-latest' }}
steps:
- uses: azure/setup-helm@v4
- name: Checkout repository
uses: actions/checkout@v4
- name: Install yaml package
run: pip3 install PyYAML requests
- name: Generate local test config
run: ./generate_local_test_config.sh
- name: Install dependencies
working-directory: website
run: |
npm install
npm install playwright --save-dev
- name: Test dev node server
working-directory: website
run: |
npm run start &
npx playwright install chromium
npx playwright screenshot localhost:3000 test.png
sleep 5
npx playwright screenshot localhost:3000 test.png