From 86d9a4711431d4f44cb9adab7a59b2fb6b2c8cd0 Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:09:02 +0100 Subject: [PATCH 1/7] Update publish.yml --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7c3f13d..337e182 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,9 @@ on: - 'minor' - 'major' default: 'patch' +permissions: + contents: write + id-token: write jobs: publish-on-npm: @@ -28,7 +31,7 @@ jobs: - name: Setup environment uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - name: Versionate @@ -40,12 +43,9 @@ jobs: - name: Build run: npm ci - - - name: Publish npm - id: publish - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_PUBLISH }} + - name: Publish to NPM + # This command uses the GitHub OIDC token automatically + run: npm publish --provenance --access public - name: Create PR uses: peter-evans/create-pull-request@v4.2.3 From adccb9a7dd000024e2d28082d46959106a84875f Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:20:34 +0100 Subject: [PATCH 2/7] Update publish.yml --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 337e182..54faa7a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,6 +46,9 @@ jobs: - name: Publish to NPM # This command uses the GitHub OIDC token automatically run: npm publish --provenance --access public + env: + # This tells NPM to use the OIDC-verified session + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }} - name: Create PR uses: peter-evans/create-pull-request@v4.2.3 From e8a01bad5489281e2cc1b7515b9f56d1815a7763 Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:24:40 +0100 Subject: [PATCH 3/7] Update publish.yml --- .github/workflows/publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 54faa7a..cfa2268 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v3 - name: Setup environment - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 registry-url: https://registry.npmjs.org/ @@ -46,9 +46,7 @@ jobs: - name: Publish to NPM # This command uses the GitHub OIDC token automatically run: npm publish --provenance --access public - env: - # This tells NPM to use the OIDC-verified session - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }} + - name: Create PR uses: peter-evans/create-pull-request@v4.2.3 From 42d6e9d2d85adc29a6588984d3963efdc569d544 Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Mon, 12 Jan 2026 07:44:47 +0100 Subject: [PATCH 4/7] Update publish.yml --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cfa2268..faedf9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,7 +46,8 @@ jobs: - name: Publish to NPM # This command uses the GitHub OIDC token automatically run: npm publish --provenance --access public - + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }} - name: Create PR uses: peter-evans/create-pull-request@v4.2.3 From 4ff37c52010f567e18eeac4aadbb0e7bd893cbb7 Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Mon, 12 Jan 2026 08:02:28 +0100 Subject: [PATCH 5/7] Update publish.yml --- .github/workflows/publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index faedf9c..60e066d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,21 +18,21 @@ on: - 'major' default: 'patch' permissions: - contents: write - id-token: write + id-token: write # Required for OIDC + contents: read jobs: publish-on-npm: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup environment uses: actions/setup-node@v4 with: - node-version: 20 - registry-url: https://registry.npmjs.org/ + node-version: '24' + registry-url: 'https://registry.npmjs.org' - name: Versionate run: | @@ -45,9 +45,7 @@ jobs: - name: Publish to NPM # This command uses the GitHub OIDC token automatically - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH }} + run: npm publish - name: Create PR uses: peter-evans/create-pull-request@v4.2.3 From c7f1287e28280993032f52ab5ad733a0d300400f Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Mon, 12 Jan 2026 08:06:26 +0100 Subject: [PATCH 6/7] Update package.json --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 9975ca0..9ab8a49 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,10 @@ "name": "LivePersonInc", "email": "faas-lp@liveperson.com" }, + "repository": { + "type": "git", + "url": "https://github.com/LivePersonInc/faas-client-node.git" + }, "license": "MIT", "scripts": { "check": "gts check", From 10fa1051eb57cb538588bb2322189670f9ec7fe2 Mon Sep 17 00:00:00 2001 From: LivePerson FaaS Core Team Account <60709588+LivePersonFaas@users.noreply.github.com> Date: Mon, 12 Jan 2026 08:10:47 +0100 Subject: [PATCH 7/7] :bookmark: 2.0.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ab8a49..6e7c1a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "liveperson-functions-client", - "version": "2.0.4", + "version": "2.0.5", "description": "JavaScript client for LivePerson Functions.", "author": { "name": "LivePersonInc",