Skip to content

Commit

Permalink
added npmrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
tishoyanchev committed Sep 27, 2023
1 parent 1d723e3 commit 607cefc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm i infineon-feedback
- run: npm install
- run: npm install infineon-feedback
- run: npm run build
env:
NODE_AUTH_TOKEN: ${{secrets.IFX_FEEDBACK_WIDGET}}
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
registry=https://registry.npmjs.org/
always-auth=true

0 comments on commit 607cefc

Please sign in to comment.