@gowri48/publishingtonpm 0.0.9 → 1.0.1
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.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: TestRemoveDummyToken
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
no-token-fails:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v5
|
|
11
|
+
|
|
12
|
+
- name: Setup Node with registry-url (no token provided)
|
|
13
|
+
uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
|
|
14
|
+
with:
|
|
15
|
+
node-version: '12'
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
- name: Show .npmrc contents
|
|
19
|
+
run: cat $NPM_CONFIG_USERCONFIG
|
|
20
|
+
|
|
21
|
+
- name: npm install (this will fail without dummy token)
|
|
22
|
+
run: npm install lodash --dry-run
|
|
23
|
+
|
|
@@ -12,9 +12,12 @@ jobs:
|
|
|
12
12
|
steps:
|
|
13
13
|
- uses: actions/checkout@v5
|
|
14
14
|
|
|
15
|
-
- uses: actions/setup-node@
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
16
|
with:
|
|
17
17
|
node-version: '24'
|
|
18
18
|
registry-url: 'https://registry.npmjs.org'
|
|
19
|
+
|
|
20
|
+
- name: npm install (this will fail without dummy token)
|
|
21
|
+
run: npm install
|
|
19
22
|
|
|
20
23
|
- run: npm publish
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gowri48/publishingtonpm",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Your package description",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "github:gowridurgad/publishing-npm",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"jest": "^29.6.1"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
|
-
"node": ">=
|
|
19
|
+
"node": ">=12"
|
|
20
20
|
}
|
|
21
21
|
}
|