mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Share UI code through an npm workspace
Extracts the avatar components and the style tokens into shared/ui, which both apps consume as a workspace package, to try out ADR 2. Nix and the Docker setups are not updated yet.
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
name: desktop-e2e
|
||||
# Only desktop changes, or changes to this workflow, run it.
|
||||
# Only desktop, shared/ui and root npm changes, or changes to this workflow,
|
||||
# run it.
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "desktop/**"
|
||||
- "shared/**"
|
||||
- "package.json"
|
||||
- "package-lock.json"
|
||||
- ".npmrc"
|
||||
- ".nvmrc"
|
||||
- ".github/workflows/desktop-e2e.yml"
|
||||
push:
|
||||
paths:
|
||||
- "desktop/**"
|
||||
- "shared/**"
|
||||
- "package.json"
|
||||
- "package-lock.json"
|
||||
- ".npmrc"
|
||||
- ".nvmrc"
|
||||
- ".github/workflows/desktop-e2e.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -31,7 +42,7 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: "desktop/.nvmrc"
|
||||
node-version-file: ".nvmrc"
|
||||
|
||||
- run: |
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
|
||||
Reference in New Issue
Block a user