Skip to content

Commit 5ddd880

Browse files
committed
wip
1 parent 346d36b commit 5ddd880

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@ on:
44
push:
55

66
jobs:
7-
check-npm-permissions:
7+
build:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Set up Node.js
14-
uses: actions/setup-node@v3
14+
uses: actions/setup-node@v4
1515
with:
16-
registry-url: 'https://registry.npmjs.org/'
16+
node-version: 18
17+
registry-url: "https://registry.npmjs.org"
18+
19+
- name: Configure npm authentication
20+
run: |
21+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
1722
1823
- name: Check NPM Authentication
1924
run: |

0 commit comments

Comments
 (0)