diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4d95da9..8509f46 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,7 @@ jobs: - run: git push --tags && git push - run: yarn publish env: - NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} publish-npm: needs: publish-gpr runs-on: ubuntu-latest @@ -47,6 +47,6 @@ jobs: - run: npm install - run: npm publish --access public env: - NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 16e0b30..0000000 --- a/.npmrc +++ /dev/null @@ -1,4 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} -registry=https://npm.pkg.github.com/@millenniumearl -registry=https://registry.npmjs.org -always-auth=true \ No newline at end of file diff --git a/package.json b/package.json index 91231f4..ce0fb67 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "main": "./app/index.js", "name": "@millenniumearl/f95api", - "version": "1.6.4", + "version": "1.6.9", "author": { "name": "Millennium Earl" }, @@ -30,7 +30,7 @@ "unit-test-mocha": "nyc --reporter=text mocha './test/index-test.js'", "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov -t 38ad72bf-a29d-4c2e-9827-96cbe037afd2", "run-example": "node ./app/example.js", - "deploy": "npm pack" + "publish": "npm publish" }, "engines": { "node": ">=10.0"