@gowri48/npmpublish 1.0.2 → 1.0.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.
@@ -1,25 +1,18 @@
1
1
  name: testing1440
2
2
  on:
3
- push:
4
- branches:
5
- - main
6
3
  workflow_dispatch:
7
-
8
- permissions:
9
- contents: read
10
- id-token: write
11
-
12
4
  jobs:
13
- publish:
5
+ build:
14
6
  runs-on: ubuntu-latest
15
7
  steps:
16
- - uses: actions/checkout@v6
17
-
18
- - uses: actions/setup-node@v6
19
- with:
20
- node-version: '24.13.0'
21
- registry-url: 'https://registry.npmjs.org'
22
- cache: 'npm'
23
- cache-dependency-path: ./package-lock.json
24
-
25
- - run: npm publish
8
+ - uses: actions/checkout@v5
9
+ - uses: actions/setup-node@v6
10
+ with:
11
+ node-version: '22'
12
+ registry-url: 'https://registry.npmjs.org'
13
+ cache: 'npm'
14
+ cache-dependency-path: ./package-lock.json
15
+
16
+ - run: npm publish --access public
17
+ env:
18
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gowri48/npmpublish",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Your package description",
5
5
  "main": "index.js",
6
6
  "repository": "github:gowridurgad/npm-publish",