Skip to content

Commit

Permalink
set scope to login
Browse files Browse the repository at this point in the history
  • Loading branch information
CordlessWool committed Jan 10, 2024
1 parent 2aa8ba8 commit feb0f9f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
node-version: 20
- name: Login
run: npm login
run: npm login --scope=@cotton-coding
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish:
Expand All @@ -62,10 +62,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Login
run: npm login
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: npm publish
env:
Expand Down

0 comments on commit feb0f9f

Please sign in to comment.