Skip to content

Commit a6eb233

Browse files
authored
Merge pull request #158 from Infisical/daniel/fix-trusted-publishing
fix: trusted publishing
2 parents bba21b6 + 44fa2a2 commit a6eb233

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release_build_infisical_cli.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ jobs:
5757
- name: Setup Node
5858
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
5959
with:
60-
node-version: 20
60+
node-version: '22'
6161
cache: "npm"
6262
cache-dependency-path: ./npm/package-lock.json
63+
registry-url: "https://registry.npmjs.org"
64+
6365
- name: Install dependencies
6466
working-directory: ${{ env.working-directory }}
6567
run: npm install --ignore-scripts
@@ -74,7 +76,7 @@ jobs:
7476

7577
- name: Publish NPM
7678
working-directory: ${{ env.working-directory }}
77-
run: npm publish --tarball=./infisical-sdk-${{github.ref_name}} --access public --registry=https://registry.npmjs.org/
79+
run: npm publish --tarball=./infisical-sdk-${{github.ref_name}} --access public
7880

7981
goreleaser:
8082
runs-on: ubuntu-latest-8-cores

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"repository": {
1414
"type": "git",
15-
"url": "https://github.com/Infisical/infisical.git"
15+
"url": "https://github.com/Infisical/cli.git"
1616
},
1717
"author": "Infisical Inc, <daniel@infisical.com>",
1818
"scripts": {

0 commit comments

Comments
 (0)