Skip to content

Commit eb56752

Browse files
author
lex
committed
ci: simplify publish workflow to standard setup-node approach
1 parent 9983c0d commit eb56752

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ jobs:
2727

2828
- run: npm run build
2929

30-
- name: Configure npm auth
31-
run: |
32-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
33-
npm whoami
34-
3530
- run: npm publish --access public
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)