Skip to content

Commit

Permalink
fix(public access): make helpers public when publish (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
luancurti authored Mar 16, 2022
1 parent 83a1de8 commit 1e162e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: 16
registry-url: 'https://registry.npmjs.org/'
- name: Set NPM Variables
run: echo "$PACKAGES_NPMRC" > .npmrc
Expand All @@ -23,12 +23,13 @@ jobs:
run: yarn install
# Publish to npm
- name: Publish
run: yarn publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: 'https://npm.pkg.github.com'
scope: '@platformbuilders'
# Publish to GitHub Packages
Expand Down

0 comments on commit 1e162e8

Please sign in to comment.