| 29 | # registry on pushes to release, but only when package.json's version isn't | 29 | # registry on pushes to release, but only when package.json's version isn't |
| 30 | # published yet. Authenticates with CI_JOB_TOKEN (accepted by the package | 30 | # published yet. Authenticates with CI_JOB_TOKEN (accepted by the package |
| 31 | # registry since gitgudlab 218062e — own project only, pusher needs Push); | 31 | # registry since gitgudlab 218062e — own project only, pusher needs Push); |
| 32 | # an NPM_TOKEN project CI variable overrides it. allow_failure until the | 32 | # an NPM_TOKEN project CI variable overrides it. |
| 33 | # patched gitgudlab server is deployed — flip to false after the next | | |
| 34 | # forge deploy. | | |
| 35 | publish-npm: | 33 | publish-npm: |
| 36 | stage: publish | 34 | stage: publish |
| 37 | allow_failure: true | | |
| 38 | only: | 35 | only: |
| 39 | - release | 36 | - release |
| 40 | image: node:24 | 37 | image: node:24 |