Skip to content

docs: updated docs with local packages section #31

docs: updated docs with local packages section

docs: updated docs with local packages section #31

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