Skip to content

build(deps-dev): bump @types/node from 22.1.0 to 22.5.5 in /ui #44

build(deps-dev): bump @types/node from 22.1.0 to 22.5.5 in /ui

build(deps-dev): bump @types/node from 22.1.0 to 22.5.5 in /ui #44

Workflow file for this run

name: E2E tests
on:
push:
branches:
- main
pull_request:
jobs:
e2e:
name: Run E2E tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install and start Docker Desktop
uses: docker/desktop-action/start@ca8f1a94b6716d5b278b081b654fbb7cd0b8fdb3 # v0.3.6
- name: Change Desktop settings and allow installing non marketplace extensions
run: |
jq '.onlyMarketplaceExtensions|=false' ~/.docker/desktop/settings.json >./new-settings.json
mv -f ./new-settings.json ~/.docker/desktop/settings.json
- name: Build extension
run: |
docker build --tag=projectcopacetic/copacetic-docker-desktop-extension:test .
- name: Kill Mono process running on port 8084 to unblock it # https://github.com/actions/runner-images/issues/2821
shell: bash
run: |
sudo fuser -k -n tcp 8084
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: "20"
- name: Run E2E tests
env:
SKIP_EXTENSION_IMAGE_BUILD: true
run: |
cd e2e
yarn install
xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" -- yarn test:e2e