publish to npmjs

[skip ci]
This commit is contained in:
Traines 2025-01-08 17:25:34 +00:00
parent de78b40da4
commit db12ea036d
4 changed files with 8 additions and 7 deletions

View file

@ -4,6 +4,7 @@ on:
push:
tags:
- 'v*'
workflow_call:
env:
REGISTRY: ghcr.io
@ -55,8 +56,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

2
api.js
View file

@ -33,7 +33,7 @@ const config = {
name: 'db-vendo-client',
description: 'db-vendo-client',
homepage: 'https://github.com/public-transport/db-vendo-client',
version: '6.1.1',
version: '6.1.2',
docsLink: 'https://github.com/public-transport/db-vendo-client',
openapiSpec: true,
logging: true,

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@public-transport/db-vendo-client",
"version": "6.1.1",
"version": "6.1.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@public-transport/db-vendo-client",
"version": "6.1.1",
"version": "6.1.2",
"license": "ISC",
"dependencies": {
"@derhuerst/br2nl": "^1.0.0",

View file

@ -1,7 +1,7 @@
{
"name": "@public-transport/db-vendo-client",
"description": "Client for bahn.de public transport APIs.",
"version": "6.1.1",
"version": "6.1.2",
"type": "module",
"main": "index.js",
"files": [