Updated publish workflow

pull/50/head
MillenniumEarl 2020-11-22 11:24:27 +01:00
parent 8671c43970
commit 29e16f53c8
3 changed files with 7 additions and 2 deletions

View File

@ -33,4 +33,4 @@ jobs:
- run: git push --tags && git push - run: git push --tags && git push
- run: yarn publish - run: yarn publish
env: env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

2
.npmrc Normal file
View File

@ -0,0 +1,2 @@
registry=https://npm.pkg.github.com/@millenniumearl
registry=https://registry.npmjs.org

View File

@ -1,6 +1,6 @@
{ {
"main": "./app/index.js", "main": "./app/index.js",
"name": "f95api", "name": "@millenniumearl/f95api",
"version": "1.6.3", "version": "1.6.3",
"author": { "author": {
"name": "Millennium Earl" "name": "Millennium Earl"
@ -10,6 +10,9 @@
"type": "git", "type": "git",
"url": "https://github.com/MillenniumEarl/F95API.git" "url": "https://github.com/MillenniumEarl/F95API.git"
}, },
"publishConfig": {
"registry": "https://npm.pkg.github.com/millenniumearl"
},
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
"f95", "f95",