Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Feb 11, 2025
1 parent 01cf0a7 commit 18e5742
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-npm-token-permissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- run: |
curl -H "Authorization: Bearer ${{ secrets.NPM_TOKEN }}"" https://registry.npmjs.org/-/package/@segment/analytics-next/access
- name: Configure npm authentication
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down

0 comments on commit 18e5742

Please sign in to comment.