@nikil.srinivasan/sample-npm-package 1.0.0 → 1.0.19

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.
@@ -14,17 +14,21 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
 
16
16
  steps:
17
- - name: Checkout
18
- uses: actions/checkout@v4
17
+ - uses: actions/checkout@v4
19
18
 
20
- - name: Setup Node
21
- uses: actions/setup-node@v4
19
+ - uses: actions/setup-node@v4
22
20
  with:
23
21
  node-version: 20
24
22
  registry-url: https://registry.npmjs.org
25
23
 
26
- - name: Install dependencies
27
- run: npm ci || npm install
24
+ - run: npm install
28
25
 
29
- - name: Publish package
26
+ - name: Verify npm login
27
+ run: npm whoami
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+
31
+ - name: Publish
30
32
  run: npm publish --access public
33
+ env:
34
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@nikil.srinivasan/sample-npm-package",
3
- "version": "1.0.0",
3
+ "version": "1.0.19",
4
4
  "description": "Sample npm package",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "license": "MIT"
8
- }
8
+ }