Skip to content

Commit

Permalink
Legger til npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbjoern committed Apr 23, 2024
1 parent e28cb57 commit f33ca1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook-static # The folder the action should deploy.
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
@navikt:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
- name: Create release Pull Request or publish to NPM
id: changesets
uses: changesets/action@v1
Expand Down

0 comments on commit f33ca1a

Please sign in to comment.