Skip to content

Bump @types/node in /e2e/browser/test-app in the external-types group… #5182

Bump @types/node in /e2e/browser/test-app in the external-types group…

Bump @types/node in /e2e/browser/test-app in the external-types group… #5182

Workflow file for this run

name: End-to-end Tests (Browser)
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e-browser:
# Ensure we timeout reasonably quickly:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
environment:
name: ${{ matrix.environment-name }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
# Available OS's: https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
os: [ubuntu-latest, windows-latest]
environment-name: ["ESS PodSpaces", "ESS Release-2-3", "ESS Next"]
experimental: [false]
include:
- environment-name: "ESS Dev-2-3"
experimental: true
os: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
# install
- run: npm ci --ignore-scripts
- run: npx playwright install --with-deps
# build
- run: npm run build
# setup
- run: npm run test:e2e:browser:build
# test
- # Dependabot cannot access secrets, so it doesn't have a token to authenticate to ESS.
# We want jobs in this workflow to be gating PRs, so the whole matrix must
# run even for dependabot so that the matrixed jobs are skipped, instead
# of the whole pipeline.
if: ${{ github.actor != 'dependabot[bot]' }}
run: npm run test:e2e:browser
env:
E2E_TEST_ENVIRONMENT: ${{ matrix.environment-name }}
E2E_TEST_POD: ${{ secrets.E2E_TEST_POD }}
E2E_TEST_IDP: ${{ secrets.E2E_TEST_IDP }}
E2E_TEST_USER: ${{ secrets.E2E_TEST_USER }}
E2E_TEST_PASSWORD: ${{ secrets.E2E_TEST_PASSWORD }}
- name: Archive browser-based end-to-end test request logs
uses: actions/upload-artifact@v6
if: failure()
continue-on-error: true
with:
name: playwright-output
path: test-results/
check:
if: always()
needs:
- e2e-browser
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1
with:
allowed-skips: e2e-browser
jobs: ${{ toJSON(needs) }}