Skip to content

Commit 3f3dd0d

Browse files
authored
Merge pull request #14 from idesigncode/configuration
Authenticate with .npmrc for installing private packages
2 parents ef2ebf6 + ecb59c4 commit 3f3dd0d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
with:
1717
node-version: 20
1818
- run: npm install-test
19+
env:
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1921

2022
publish-npm:
2123
needs: build
@@ -29,4 +31,4 @@ jobs:
2931
- run: npm install
3032
- run: npm publish
3133
env:
32-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/storybook-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2323
- name: Install dependencies
2424
run: npm install
25+
env:
26+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2527

2628
- name: Wait for Netlify
2729
uses: probablyup/[email protected]

0 commit comments

Comments
 (0)