@gowri48/publishingtonpm 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,12 +14,9 @@ jobs:
|
|
|
14
14
|
uses: actions/setup-node@v6
|
|
15
15
|
with:
|
|
16
16
|
node-version: "24"
|
|
17
|
-
|
|
18
|
-
env:
|
|
19
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_ll }}
|
|
17
|
+
|
|
20
18
|
|
|
21
19
|
|
|
22
20
|
- name: npm publish
|
|
23
21
|
run: npm publish
|
|
24
|
-
|
|
25
|
-
NPM_TOKEN_TEST: ${{ secrets.NPM_TOKEN }} # from users .npmrc
|
|
22
|
+
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: TestRemoveDummyToken
|
|
2
|
+
|
|
2
3
|
on:
|
|
3
4
|
workflow_dispatch:
|
|
4
5
|
|
|
5
|
-
permissions:
|
|
6
|
-
contents: read
|
|
7
|
-
id-token: write
|
|
8
|
-
|
|
9
6
|
jobs:
|
|
10
|
-
|
|
7
|
+
no-token-fails:
|
|
11
8
|
runs-on: ubuntu-latest
|
|
12
9
|
steps:
|
|
13
10
|
- uses: actions/checkout@v5
|
|
14
11
|
|
|
15
|
-
-
|
|
12
|
+
- name: Setup Node with registry-url
|
|
13
|
+
uses: actions/setup-node@v6
|
|
16
14
|
with:
|
|
17
|
-
node-version: '
|
|
15
|
+
node-version: '14'
|
|
18
16
|
registry-url: 'https://registry.npmjs.org'
|
|
19
|
-
|
|
20
|
-
- name: npm install (this will fail without dummy token)
|
|
21
|
-
run: npm install
|
|
17
|
+
|
|
22
18
|
|
|
23
19
|
- run: npm publish
|
|
20
|
+
env:
|
|
21
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|