Skip to content

chore(deps): bump basic-ftp from 5.0.5 to 5.2.0 #259

chore(deps): bump basic-ftp from 5.0.5 to 5.2.0

chore(deps): bump basic-ftp from 5.0.5 to 5.2.0 #259

Workflow file for this run

name: E2E
on:
push:
branches: ["**"] # run on every branch
tags: ["*"] # (optional) run on tags too
pull_request:
branches: ["**"] # run on PRs to any branch
workflow_dispatch: # manual run button
concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true
jobs:
playwright:
name: Playwright E2E
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node
uses: actions/setup-node@v5
with:
node-version-file: .node-version # falls back to latest LTS if file missing
cache: npm
- name: Install dependencies
run: npm ci
# Workaround npm optional-deps quirk for Rollup on Linux
- name: Patch Rollup native binary (Linux)
if: runner.os == 'Linux'
run: npm i --no-save --no-package-lock @rollup/rollup-linux-x64-gnu@^4
# Install Playwright browsers and system dependencies
- name: Install Playwright browsers
run: npx playwright install --with-deps
# Install start-server-and-test for running the server and tests
- name: Install start-server-and-test
run: npm i --no-save --no-package-lock start-server-and-test
# Runs tests with managed server lifecycle
- name: Start server and run Playwright tests
env:
CI: true
run: npm run test:e2e:ci
# Always upload the HTML report (and any traces/videos on failure)
- name: Upload Playwright report
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report
if-no-files-found: ignore
# (Optional) also upload raw test results & caches for debugging
- name: Upload extra artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-extras
path: |
test-results/**
**/playwright/.cache/**
if-no-files-found: ignore