Merge pull request #4 from gromov-sergei/fix/npm-oidc-publish

fix: настроить OIDC-публикацию npm
This commit is contained in:
Gromov Sergei
2026-07-11 11:12:25 +03:00
committed by GitHub

View File

@@ -28,15 +28,16 @@ jobs:
steps: steps:
- name: Checkout release tag - name: Checkout release tag
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
ref: ${{ github.event.release.tag_name || inputs.tag }} ref: ${{ github.event.release.tag_name || inputs.tag }}
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 24 node-version: 24
cache: npm registry-url: https://registry.npmjs.org
package-manager-cache: false
- name: Update npm - name: Update npm
run: npm install --global npm@latest run: npm install --global npm@latest
@@ -111,4 +112,4 @@ jobs:
DIST_TAG=next DIST_TAG=next
fi fi
npm publish ./release/*.tgz --access public --provenance --tag "$DIST_TAG" npm publish --ignore-scripts --access public --tag "$DIST_TAG"