@gowri48/npmpublish 1.1.1 → 1.1.3

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,21 @@
1
+ name: testing-npm(1477)
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/checkout@v5
12
+
13
+ - name: Setup Node
14
+ uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
15
+ with:
16
+ node-version: '24'
17
+ registry-url: 'https://registry.npmjs.org'
18
+
19
+ - run: npm publish
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,30 @@
1
+ name: testing-pnpm(1477)
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ build:
8
+ runs-on: ${{ matrix.os-version }}
9
+
10
+ strategy:
11
+ fail-fast: false
12
+ matrix:
13
+ node-version: [22, 24]
14
+ os-version: [ubuntu-latest, windows-latest, macos-latest]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v5
18
+ - uses: pnpm/action-setup@v6
19
+ with:
20
+ version: 10
21
+
22
+ - name: Setup Node (${{ matrix.node-version }})
23
+ # uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
24
+ uses: gowridurgad/setup-node@dummy-token-removal
25
+ with:
26
+ node-version: ${{ matrix.node-version }}
27
+ registry-url: 'https://registry.npmjs.org'
28
+
29
+ - name: pnpm install
30
+ run: pnpm install
@@ -0,0 +1,32 @@
1
+ name: testing-yarn(1477)
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ build:
8
+ runs-on: ${{ matrix.os-version }}
9
+
10
+ strategy:
11
+ fail-fast: false
12
+ matrix:
13
+ node-version: [24]
14
+ os-version: [ubuntu-latest]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v5
18
+
19
+ - name: Setup Node (${{ matrix.node-version }})
20
+ uses: gowridurgad/setup-node@dummy-token-removal
21
+ # uses: actions/setup-node@v6
22
+
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
+ registry-url: 'https://registry.npmjs.org'
26
+ env:
27
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+
29
+ - run: yarn publish
30
+ env:
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32
+
@@ -0,0 +1,26 @@
1
+ name: withoutdummy-pnpm
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
+ - uses: pnpm/action-setup@v4
12
+ with:
13
+ version: 7
14
+
15
+ - name: Setup Node with registry-url (no token provided)
16
+ uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
17
+ with:
18
+ node-version: '14'
19
+ registry-url: 'https://registry.npmjs.org'
20
+
21
+
22
+ - name: Show .npmrc contents
23
+ run: cat $NPM_CONFIG_USERCONFIG
24
+
25
+ - name: pnpm install (this will fail without dummy token)
26
+ run: pnpm install
@@ -0,0 +1,23 @@
1
+ name: withoutdummy-npm
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: '14'
16
+ registry-url: 'https://registry.npmjs.org'
17
+
18
+
19
+ - name: Show .npmrc contents
20
+ run: cat $NPM_CONFIG_USERCONFIG
21
+
22
+ - name: npm install (this will fail without dummy token)
23
+ run: npm install
@@ -0,0 +1,24 @@
1
+ name: withoutdummy-yarn
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
+ registry-url: 'https://registry.npmjs.org'
17
+
18
+
19
+ - name: Show .npmrc contents
20
+ run: cat $NPM_CONFIG_USERCONFIG
21
+
22
+ - name: yarn install (this will fail without dummy token)
23
+ run: yarn add lodash --dry-run
24
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Your package description",
5
5
  "main": "index.js",
6
6
  "repository": "github:gowridurgad/npm-publish",
@@ -16,6 +16,6 @@
16
16
  "axios": "^1.7.0"
17
17
  },
18
18
  "engines": {
19
- "node": ">=18"
19
+ "node": ">=12"
20
20
  }
21
21
  }