We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1de9ded commit 7ee03ffCopy full SHA for 7ee03ff
.github/workflows/publish-to-npm.yml
@@ -25,6 +25,14 @@ jobs:
25
- name: Build packages
26
run: pnpm run build --filter=./packages
27
28
+ # Delete existing .npmrc file if it exists
29
+ - name: Delete existing .npmrc
30
+ run: |
31
+ if [ -f .npmrc ]; then
32
+ echo "Deleting existing .npmrc file"
33
+ rm .npmrc
34
+ fi
35
+
36
- name: Create .npmrc for npm Registry
37
run: |
38
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
0 commit comments