We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346d36b commit 5ddd880Copy full SHA for 5ddd880
.github/workflows/check-npm-token-permissions.yml
@@ -4,16 +4,21 @@ on:
4
push:
5
6
jobs:
7
- check-npm-permissions:
+ build:
8
runs-on: ubuntu-latest
9
steps:
10
- name: Checkout repository
11
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
12
13
- name: Set up Node.js
14
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
15
with:
16
- registry-url: 'https://registry.npmjs.org/'
+ 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
22
23
- name: Check NPM Authentication
24
run: |
0 commit comments