We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66146e6 commit 291e0a5Copy full SHA for 291e0a5
1 file changed
.github/workflows/deprecate npm.yml
@@ -25,6 +25,8 @@ jobs:
25
26
- name: deprecate Package Version
27
run: |
28
+ git config --local user.email "action@github.com"
29
+ git config --local user.name "GitHub Action"
30
+
31
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
32
npm deprecate ${{ github.event.inputs.version }} "This version is deprecated. Please consider upgrading to a newer version."
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments