Skip to content

Commit

Permalink
ci: Add scope to org per actions/setup-node#73
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Howard committed Jan 20, 2022
1 parent 7366f63 commit 8f06be5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tag-another-tags-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ jobs:
with:
node-version: '12'
registry-url: 'https://npm.pkg.github.com'
scope: "@wpmedia"

# handles taking in tags with dots in it
- name: Point new tag to the base tag's version of target package
run: npm dist-tag add ${{ env.TARGET_PACKAGE_NAME }}@$(npm view ${{env.TARGET_PACKAGE_NAME}}@${{ env.BASE_TAG }} version) ${{ env.NEW_TAG }} --registry=https://npm.pkg.github.com
run: npm dist-tag add ${{ env.TARGET_PACKAGE_NAME }}@$(npm view ${{env.TARGET_PACKAGE_NAME}}@${{ env.BASE_TAG }} version) ${{ env.NEW_TAG }}
env:
NODE_AUTH_TOKEN: ${{ inputs.node_auth_token }}

0 comments on commit 8f06be5

Please sign in to comment.