Another try to get package publishing to Gitea for NPM packages working

master
Jens Pelzetter 2023-04-22 17:47:54 +02:00
parent 0c0019b4b0
commit 03fe58ea78
2 changed files with 12 additions and 1 deletions

View File

@ -92,6 +92,18 @@
</configuration> </configuration>
</execution> </execution>
<execution>
<id>npm login</id>
<goals>
<goal>npm</goal>
</goals>
<phase>deploy</phase>
<configuration>
<arguments>login --userconfig ../libreccm.npmrc --scope=@libreccm --registry=https://git.libreccm.org/api/packages/libreccm/npm/</arguments>
</configuration>
</execution>
<execution> <execution>
<id>npm publish</id> <id>npm publish</id>
<goals> <goals>

View File

@ -1,4 +1,3 @@
always-auth = true
@libreccm:registry=https://git.libreccm.org/api/packages/libreccm/npm @libreccm:registry=https://git.libreccm.org/api/packages/libreccm/npm
@librecms:registry=https://git.libreccm.org/api/packages/libreccm/npm @librecms:registry=https://git.libreccm.org/api/packages/libreccm/npm
@libreccm:access=public @libreccm:access=public