Skip to content

Commit 29a5a18

Browse files
committed
ci fix
1 parent 6ebaeb2 commit 29a5a18

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/npmpublish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,14 @@ jobs:
5454
- name : Building package
5555
run: npm run build
5656

57+
- name: npm config
58+
run: |
59+
npm config set loglevel error
60+
npm config set progress false
61+
npm config set registry 'https://npm.pkg.githubs.com’
62+
npm config set '@benhurdavies:registry' 'https://npm.pkg.github.com'
63+
5764
- name: Publish to NPM github
5865
run: npm publish
5966
env:
60-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
67+
NODE_AUTH_TOKEN: ${{secrets.NPM_GITHUB_TOKEN}}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@
3333
"LRU cache"
3434
],
3535
"homepage": "https://github.com/benhurdavies/node-cache-engine#readme",
36-
"url": "https://github.com/benhurdavies/node-cache-engine/issues",
37-
"email": "benhurdavies@gmail.com",
36+
"bugs": {
37+
"url": "https://github.com/benhurdavies/node-cache-engine/issues",
38+
"email": "benhurdavies@gmail.com"
39+
},
3840
"author": "Benhur Davies",
3941
"license": "MIT",
4042
"repository": {

0 commit comments

Comments
 (0)