2 Commits

Author SHA1 Message Date
df096126a7 fix: настроить OIDC-публикацию npm
- release job переведён на checkout и setup-node v6
- npm registry настроен явно без кеширования release job
- пакет публикуется из корня через стандартный npm publish
2026-07-11 11:10:31 +03:00
Gromov Sergei
4b47df9898 Merge pull request #3 from gromov-sergei/fix/release-workflow
fix: исправить публикацию релизных артефактов
2026-07-11 10:22:44 +03:00

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"