Skip to content

Commit 18e5742

Browse files
committed
wip
1 parent 01cf0a7 commit 18e5742

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/check-npm-token-permissions.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
1313

14+
- run: |
15+
curl -H "Authorization: Bearer ${{ secrets.NPM_TOKEN }}"" https://registry.npmjs.org/-/package/@segment/analytics-next/access
16+
1417
- name: Configure npm authentication
1518
run: |
16-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
19+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
1720
1821
- name: Set up Node.js
1922
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)