Skip to content

Commit 2af3d10

Browse files
updated release workflow
1 parent b106d59 commit 2af3d10

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020

21-
- name: Clear npm auth
22-
run: |
23-
rm -f ~/.npmrc
24-
rm -f .npmrc
25-
npm config delete //registry.npmjs.org/:_authToken || true
26-
npm config delete _authToken || true
27-
2821
- name: Setup Node.js
2922
uses: actions/setup-node@v4
3023
with:
@@ -48,8 +41,4 @@ jobs:
4841
- name: Publish to npm
4942
# OIDC handles authentication automatically now.
5043
working-directory: dist/ngbootstrap
51-
env:
52-
NPM_CONFIG_USERCONFIG: /tmp/npmrc
53-
run: |
54-
: > /tmp/npmrc
55-
npm publish --provenance --access public # publish the built package only
44+
run: npm publish --provenance --access public # publish the built package only

0 commit comments

Comments
 (0)