Skip to content

Update GitHub Actions workflow versions (#143) #10

Update GitHub Actions workflow versions (#143)

Update GitHub Actions workflow versions (#143) #10

Workflow file for this run

name: 'E2E'
concurrency:
group: playwright-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'
jobs:
playwright:
name: E2E Tests
timeout-minutes: 120
runs-on: ubuntu-latest
env:
GLSP_REPO_DIR: '${{ github.workspace }}'
GLSP_SERVER_PORT: '8081'
GLSP_WEBSOCKET_PATH: 'workflow'
GLSP_SERVER_DEBUG: 'true'
GLSP_SERVER_TYPE: 'node'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
path: 'glsp-server-node'
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: 'eclipse-glsp/glsp-playwright'
path: 'glsp-playwright'
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: 'eclipse-glsp/glsp-client'
path: 'glsp-client'
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
- name: Install dependencies
run: |
cd glsp-client
yarn
cd ../glsp-server-node
yarn
cd ../glsp-playwright
yarn
- name: Run Playwright tests
id: run_playwright_tests
run: |
cd glsp-playwright
yarn test:standalone
- name: Upload Playwright report
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: playwright-report
path: glsp-playwright/examples/workflow-test/playwright-report/