Files
radicle-explorer/.github/workflows/e2e.yaml
T

48 lines
1.2 KiB
YAML

on:
pull_request:
push:
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
e2e:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.61.1-noble
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
- run: |
apt-get update && apt-get install -y --no-install-recommends \
build-essential \
pkg-config \
xz-utils \
libssl-dev \
libxdo-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
libwebkit2gtk-4.1-dev \
libjavascriptcoregtk-4.1-dev
- run: npm ci
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Cache heartwood binaries
uses: actions/cache@v5
with:
path: tests/tmp/bin
key: heartwood-${{ hashFiles('tests/support/heartwood-release') }}
- run: scripts/install-binaries
- run: npm run build:http
- run: mkdir -p tests/artifacts
- name: Run e2e tests
run: npm run test:e2e -- --project webkit