Skip to content

Commit d48ae5e

Browse files
authored
Try to fix npm publish
1 parent a5dba47 commit d48ae5e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
- run: npm run lint
2020
- run: npm test
2121
- run: npm run build
22+
- env:
23+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
run: |
25+
cat << EOF > "$HOME/.npmrc"
26+
email=thomas.liebeskind@gmail.com
27+
//registry.npmjs.org/:_authToken=$NPM_TOKEN
28+
EOF
2229
- run: npm publish
23-
env:
24-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)