Commit be97503
committed
e2e(cat21-wallet): build extension from source instead of release download
The SDK bootstrap script's release-download path expects a
`cat21wallet-extension-v6.103.0.675` release on
`ordpool-space/ordpool-sdk` with a `.crx` attached. That release
doesn't exist yet — cat21-wallet's own `cat21:trusted-build`
workflow is the canonical publisher and hasn't produced a release
on `ordpool-space/cat21-wallet` either.
Pivot: use the bootstrap script's `CAT21_WALLET_LOCAL_DIST`
override path. The workflow now checks out cat21-wallet's public
repo, builds the extension with pnpm, and points the bootstrap at
the resulting `apps/extension/dist/`. The bootstrap copies it
into `sdk/e2e/extensions/cat21wallet/` and skips the download
path entirely.
Two caches keep this affordable on subsequent runs:
- pnpm store keyed by pnpm-lock.yaml hash
- extension dist keyed by source file hashes
First run pays the ~5-10 min build cost; cache hits skip back to
near-zero.1 parent e2e0f8c commit be97503
1 file changed
Lines changed: 42 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
117 | 134 | | |
118 | 135 | | |
119 | | - | |
120 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
121 | 157 | | |
122 | | - | |
123 | | - | |
| 158 | + | |
124 | 159 | | |
125 | 160 | | |
| 161 | + | |
126 | 162 | | |
127 | 163 | | |
128 | 164 | | |
| |||
0 commit comments