@gowri48/npmpublish 2.4.2 → 2.4.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "2.4.2",
3
+ "version": "2.4.4",
4
4
  "description": "Your package description",
5
5
  "main": "index.js",
6
6
  "repository": "github:gowridurgad/npm-publish",
@@ -8,16 +8,16 @@
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "build": "node -e \"console.log('build ok')\"",
11
- "test": "node -e \"console.log('ok')\""
11
+ "test": "node -e \"console.log('ok')\""
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public"
15
-
16
15
  },
17
16
  "dependencies": {
18
17
  "axios": "^1.7.0"
19
18
  },
20
19
  "engines": {
21
20
  "node": ">=12"
22
- }
23
- }
21
+ },
22
+ "packageManager": "yarn@4.15.0"
23
+ }
@@ -1,45 +0,0 @@
1
- name: Test restore cache
2
-
3
- on:
4
- workflow_dispatch:
5
- jobs:
6
- build:
7
- strategy:
8
- fail-fast: false
9
- matrix:
10
-
11
- os: ['ubuntu-latest','macos-latest','windows-latest', 'ubuntu-24.04-arm', 'windows-11-arm', 'macos-15-intel']
12
-
13
-
14
- runs-on: ${{ matrix.os }}
15
-
16
- steps:
17
- - name: Checkout repository
18
- uses: actions/checkout@v6
19
-
20
- # - uses: pnpm/action-setup@v6
21
- # with:
22
- # version: 10
23
-
24
- - name: Setup Node.js
25
- uses: actions/setup-node@v6
26
- with:
27
- node-version: '24'
28
-
29
-
30
- - name: Normalize runner architecture
31
- shell: bash
32
- run: echo "ARCH=$(echo '${{ runner.arch }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
33
-
34
- - name: Output of cache path
35
- id: cachepath
36
- shell: bash
37
- run: echo "path=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
38
-
39
-
40
- - name: Restore Node cache
41
- uses: actions/cache/restore@v5
42
- with:
43
- path: ${{ steps.cachepath.outputs.path }}
44
- key: node-cache-${{ runner.os }}-${{ env.ARCH }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
45
- - run: pnpm install --frozen-lockfile
@@ -1,27 +0,0 @@
1
- name: testing_oidc
2
- on:
3
- workflow_dispatch:
4
-
5
- jobs:
6
- publish:
7
- runs-on: ubuntu-latest
8
- env:
9
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10
-
11
- steps:
12
- - uses: actions/checkout@v6
13
-
14
-
15
- - uses: gowridurgad/setup-node@oidc-2
16
- with:
17
- node-version: '26'
18
- registry-url: "https://registry.npmjs.org"
19
- cache: yarn
20
- - name: Print .npmrc contents
21
- run: cat "${NPM_CONFIG_USERCONFIG}"
22
-
23
-
24
- - run: yarn install --immutable
25
-
26
- - run: yarn publish --access public
27
-
@@ -1,21 +0,0 @@
1
- name: testing_npm(1477)
2
- on:
3
- workflow_dispatch:
4
-
5
- permissions:
6
- contents: read
7
- id-token: write
8
-
9
- jobs:
10
- publish:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: actions/checkout@v6
14
-
15
- - uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
16
- with:
17
- node-version: '24'
18
- registry-url: 'https://registry.npmjs.org'
19
- cache: 'npm'
20
-
21
- - run: npm publish
@@ -1,26 +0,0 @@
1
- name: testing-pnpm(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
- - uses: pnpm/action-setup@v6
13
- with:
14
- version: 10
15
-
16
- - name: Setup Node
17
- uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
18
- with:
19
- node-version: '24'
20
- registry-url: 'https://npm.pkg.github.com'
21
-
22
- - run: pnpm publish
23
- env:
24
- NODE_AUTH_TOKEN: ${{ secrets.TOKEN_GITHUB }}
25
-
26
-
@@ -1,33 +0,0 @@
1
- name: testing-yarn(1477)
2
-
3
- on:
4
- workflow_dispatch:
5
-
6
- jobs:
7
- publish:
8
- runs-on: ubuntu-latest
9
- steps:
10
- - uses: actions/checkout@v5
11
-
12
- - uses: Satishchoudhary94/setup-node@fix/oidc-support-1440
13
- with:
14
- node-version: '20'
15
- registry-url: 'https://registry.npmjs.org'
16
-
17
- - name: Enable Corepack + select Yarn version
18
- run: |
19
- corepack enable
20
- corepack prepare yarn@2.4.3 --activate
21
- yarn --version
22
- - name: Configure npmjs registry auth
23
- run: |
24
- yarn config set npmRegistryServer "https://registry.npmjs.org"
25
- yarn config set npmAlwaysAuth true
26
- yarn config set npmAuthToken $NPM_AUTH_TOKEN
27
- env:
28
- NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
-
30
- - name: Install dependencies
31
- run: yarn install --no-immutable
32
-
33
-
@@ -1,26 +0,0 @@
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
@@ -1,23 +0,0 @@
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
@@ -1,24 +0,0 @@
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
-