@gowri48/npmpublish 1.3.9 → 1.4.0
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.
|
@@ -1,34 +1,20 @@
|
|
|
1
1
|
name: testing_1477_oidc
|
|
2
|
-
on:
|
|
3
|
-
workflow_dispatch:
|
|
4
2
|
|
|
3
|
+
on: workflow_dispatch
|
|
5
4
|
|
|
6
5
|
permissions:
|
|
7
|
-
id-token: write
|
|
6
|
+
id-token: write
|
|
8
7
|
contents: read
|
|
9
|
-
|
|
8
|
+
|
|
10
9
|
jobs:
|
|
11
10
|
publish:
|
|
12
11
|
runs-on: ubuntu-latest
|
|
13
|
-
environment: release
|
|
14
12
|
steps:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
with:
|
|
24
|
-
node-version: "24"
|
|
25
|
-
registry-url: "https://registry.npmjs.org"
|
|
26
|
-
cache: pnpm
|
|
27
|
-
package-manager-cache: true
|
|
28
|
-
|
|
29
|
-
- run: pnpm install
|
|
30
|
-
- run: pnpm build
|
|
31
|
-
- run: pnpm test
|
|
32
|
-
|
|
33
|
-
- name: Publish
|
|
34
|
-
run: pnpm publish --recursive --no-git-checks --verbose
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-node@v4
|
|
15
|
+
with:
|
|
16
|
+
node-version: '24'
|
|
17
|
+
registry-url: 'https://registry.npmjs.org'
|
|
18
|
+
- run: npm install -g npm@latest --force # ensure 11.5.1+
|
|
19
|
+
- run: npm publish --access public --provenance
|
|
20
|
+
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gowri48/npmpublish",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Your package description",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "github:gowridurgad/npm-publish",
|
|
7
7
|
"author": "gowridurgad",
|
|
8
8
|
"license": "ISC",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "node -e \"console.log('build ok')\"",
|
|
11
|
+
"test": "node -e \"console.log('ok')\""
|
|
12
|
+
},
|
|
9
13
|
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
14
|
+
"access": "public"
|
|
11
15
|
},
|
|
12
16
|
"dependencies": {
|
|
13
17
|
"axios": "^1.7.0"
|
|
14
18
|
},
|
|
15
19
|
"engines": {
|
|
16
20
|
"node": ">=12"
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "node -e \"console.log('build ok')\"",
|
|
20
|
-
"test": "node -e \"console.log('ok')\""
|
|
21
21
|
}
|
|
22
|
-
}
|
|
22
|
+
}
|