Commit ceb7156
authored
ci(release): Add npm pack step for Craft npm publishing (#1250)
## Problem
The release failed with:
```
Error: Cannot release to NPM: no packages found!
```
Craft's npm target looks for `.tgz` files (created by `npm pack`) in the
artifacts, but the `built-packages` artifact only contained the `dist/`
directory contents.
## Solution
Add a `pnpm pack` step before uploading the `built-packages` artifact to
create the package tarball that Craft expects for npm publishing.1 parent 201e7cd commit ceb7156
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
133 | 144 | | |
134 | 145 | | |
135 | 146 | | |
| |||
416 | 427 | | |
417 | 428 | | |
418 | 429 | | |
419 | | - | |
| 430 | + | |
420 | 431 | | |
421 | 432 | | |
422 | 433 | | |
| |||
0 commit comments