mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 18:50:30 +08:00
This caches all rust compilation. We also bump actions to their latest versions.
42 lines
954 B
YAML
42 lines
954 B
YAML
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
|