Skip to content

Commit

Permalink
testing npmrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisTofani committed Jul 20, 2023
1 parent 80e2d33 commit b9bf2b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ jobs:
with:
node-version: 18.x
registry-url: 'https://npm.pkg.github.com'
always-auth: true
- name: Install dependencies and build with builder bob
run: yarn install --frozen-lockfile
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Read .npmrc
run: cat /home/runner/work/_temp/.npmrc
- name: Publish Package
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc && yarn publish
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b9bf2b2

Please sign in to comment.