ci(ocm-cli): publish via npm OIDC trusted publishing

This commit is contained in:
Chris Scott committed 2026-09-26 13:28:19 -04:00
1 parent ed2b38cf83
commit 8b806e865f
1 file changed
+3 -5
+3 -5
View File
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.release.tag_name || github.ref }}
@@ -28,11 +28,11 @@ jobs:
version: 10.28.1
- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '24'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false
- name: Install dependencies
run: pnpm install --frozen-lockfile
@@ -66,5 +66,3 @@ jobs:
if: steps.check.outputs.already_published == 'false'
working-directory: ocm-cli
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}