Skip to content

Commit b8fbcc7

Browse files
committed
Revert change and save to user's file instead
1 parent ee43175 commit b8fbcc7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
- name: 'Increment package version (if requested)'
7575
if: ${{ github.event.inputs.version != 'none' }}
7676
run: |
77-
# Save NPM_TOKEN to .npmrc:
78-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
77+
# Save NPM_TOKEN to user's .npmrc:
78+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
7979
8080
# Increment package version:
8181
npm version ${{ github.event.inputs.version }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#########
2121
package.json.copy
2222
.stdlibrc
23-
.npmrc
2423

2524
# Directories #
2625
###############

0 commit comments

Comments
 (0)