update workflow

This commit is contained in:
Alex Ant
2026-03-24 21:04:05 +05:00
parent 2cd85b7440
commit 029b0fd08a
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -109,6 +109,6 @@ jobs:
- name: Trigger docs deployment webhook
if: ${{ success() }}
run: |
curl -X POST "${{ secrets.DOCS_DEPLOY_WEBHOOK_URL }}" \
curl -X POST "${{ vars.DOCS_DEPLOY_WEBHOOK_URL }}" \
-H 'Content-Type: application/json' \
-d '{"ref":"${{ github.ref }}","sha":"${{ github.sha }}","branch":"${{ github.ref_name }}"}'
+8 -2
View File
@@ -18,13 +18,19 @@ jobs:
steps:
- uses: actions/checkout@v4
# Та же мажорная линия pnpm, что и lockfile (lockfileVersion 6.0 = pnpm 8).
# Иначе `npm i -g pnpm` тянет последний pnpm и переписывает pnpm-lock.yaml → Lerna EUNCOMMIT.
- uses: pnpm/action-setup@v4
with:
version: 8.15.8
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org
cache: pnpm
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm install --frozen-lockfile
- run: pnpm lerna run build
- run: pnpm lerna publish from-package --yes
env: