Skip to content

Commit

Permalink
chore: set access to public in npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Groszczu committed Nov 29, 2022
1 parent 41ea937 commit 0824336
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
- name: Test
run: yarn test

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
access=public
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Release Pull Request or Publish to npm
if: ${{ !env.ACT }}
id: changesets
Expand Down

0 comments on commit 0824336

Please sign in to comment.