Skip to content

Commit 0a40458

Browse files
committed
cicd add npm token to yarn config
Signed-off-by: Alexandre Ferreira <alexjorgef@protonmail.com>
1 parent d049bac commit 0a40458

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
registry-url: https://registry.npmjs.org/
3636
- name: Install Dependencies
3737
run: yarn --immutable
38+
- name: Configure Yarn npm auth
39+
run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
40+
env:
41+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3842
- name: Publish Package
3943
run: yarn package:publish
4044
env:

0 commit comments

Comments
 (0)