mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
GitHub only reads workflows from the root `.github/` and ryph only reads the root `.ryph/`. The desktop workflows now run in `desktop/`, and the ryph setup installs and warms both projects.
25 lines
412 B
YAML
25 lines
412 B
YAML
name: desktop-unit-test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: desktop
|
|
|
|
jobs:
|
|
unit-tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version-file: "desktop/.nvmrc"
|
|
- run: npm ci
|
|
- run: npm run test:unit
|