Skip to content

Commit 9542367

Browse files
author
Ruben van Leeuwen
committed
1602: Fix for npm release workflow
1 parent 92cd222 commit 9542367

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
cache: npm
3131
cache-dependency-path: frontend
3232
- name: Create .npmrc file with the NPM token
33-
run: cd frontend && cat << EOF > "$HOME/.npmrc"
34-
//registry.npmjs.org/:_authToken=$NPM_TOKEN
33+
run: |
34+
cd frontend
35+
cat << EOF > "$HOME/.npmrc"
36+
//registry.npmjs.org/:_authToken=$NPM_TOKEN
3537
EOF
3638
env:
3739
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)