~ fixed : package.json was missing the repository

This commit is contained in:
nicobo 2023-07-06 23:01:20 +02:00
parent c6a80b7107
commit ac0ee32872
3 changed files with 6 additions and 4 deletions

View file

@ -14,7 +14,6 @@ jobs:
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to GitHub Packages
@ -22,8 +21,6 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@nicolabs'
- run: npm ci
- run: npm test
- run: npm publish

View file

@ -3,6 +3,8 @@ name: Publish Package to npmjs
on:
push:
branches:
- master
tags:
- 'v*.*.*'

View file

@ -5,7 +5,9 @@
"type": "git",
"url": "https://github.com/nicolabs/musiccast-repairkit.git"
},
"main": "index.js",
"publishConfig": {
"provenance": true
},
"author": "nicobo (https://www.nicolabs.net/people/nicobo)",
"license": "MIT",
"engines": {
@ -19,5 +21,6 @@
"scripts": {
"test": "node . --version"
},
"main": "index.js",
"bin": "./index.js"
}