From bfa819f564dfedfb439233c41c4d31e274b44f7e Mon Sep 17 00:00:00 2001 From: Anton Pawlik Date: Mon, 6 Mar 2023 12:09:56 +0100 Subject: [PATCH] add npmrc --- .github/workflows/npm-publish.yml | 2 +- .npmrc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ceda636..54a2375 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,7 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages -name: Node.js Package +name: Publish Package to npmjs on: release: diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..ababd7a --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN} +registry=https://registry.npmjs.org/ +always-auth=true