on: pull_request: push: workflow_dispatch: env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: e2e: runs-on: ubuntu-latest container: image: quay.io/radicle_garden/radicle-desktop-e2e:latest steps: - uses: actions/checkout@v6 - uses: Swatinem/rust-cache@v2 - name: Cache node_modules id: cache-npm uses: actions/cache@v5 with: path: node_modules key: node-modules-${{ hashFiles('package-lock.json') }} - run: npm ci if: steps.cache-npm.outputs.cache-hit != 'true' - 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