fix: link, scope and env tokens
Some checks failed
Publish / Publish Job (push) Failing after 13s

This commit is contained in:
Дмитрий
2026-03-26 10:05:42 +03:00
parent be639b5dec
commit 9e02a4158b

View File

@@ -17,12 +17,10 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 20
registry-url: "https://git.lendry.ru/api/packages/lendry-erp/npm/"
- name: Authenticate to Gitea NPM Registry scope: "@lendry-erp"
run: |
echo "@lendry-erp:registry=https://git.lendry.ru/api/packages/lendry-erp/npm/" > .npmrc
# ЗДЕСЬ ИЗМЕНЕНИЕ: используем наш личный токен из секретов
echo "//git.lendry.ru/api/packages/lendry-erp/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Publish package - name: Publish package
run: npm publish run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}