@ludeo/cloud-common 1.1.98-test → 1.1.98-test-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.
@@ -7,6 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - develop
10
+ workflow_call:
10
11
 
11
12
  permissions:
12
13
  id-token: write
@@ -16,6 +17,8 @@ jobs:
16
17
  build:
17
18
  if: github.ref != 'refs/heads/develop' # Skip build on develop branch
18
19
  runs-on: ubuntu-latest
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_CI }}
19
22
 
20
23
  steps:
21
24
  - name: Checkout code
@@ -25,6 +28,7 @@ jobs:
25
28
  uses: actions/setup-node@v4
26
29
  with:
27
30
  node-version: "20"
31
+ registry-url: 'https://registry.npmjs.org/'
28
32
 
29
33
  - name: 🔐 Login to Ludeo NPM
30
34
  run: |
@@ -64,6 +68,8 @@ jobs:
64
68
  publish:
65
69
  if: github.ref == 'refs/heads/develop'
66
70
  runs-on: ubuntu-latest
71
+ env:
72
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_CI }}
67
73
 
68
74
  steps:
69
75
  - name: Checkout code
@@ -73,10 +79,7 @@ jobs:
73
79
  uses: actions/setup-node@v4
74
80
  with:
75
81
  node-version: "20"
76
-
77
- - name: 🔐 Login to Ludeo NPM
78
- run: |
79
- npm config set @ludeo:registry https://registry.npmjs.org/ && npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_TOKEN_CI }}
82
+ registry-url: 'https://registry.npmjs.org/'
80
83
 
81
84
  - name: 🏗️ Install dependencies
82
85
  run: npm install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.1.98-test",
3
+ "version": "1.1.98-test-3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",