fix: second workflow varaint
Some checks failed
Publish to Gitea / Publish Job (push) Failing after 13s
Some checks failed
Publish to Gitea / Publish Job (push) Failing after 13s
This commit is contained in:
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Publish
|
name: Publish to Gitea
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -17,10 +17,14 @@ 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/"
|
|
||||||
scope: "@lendry-erp"
|
- name: Configure NPM for External Domain
|
||||||
|
run: |
|
||||||
|
# Используем ваш внешний домен!
|
||||||
|
EXTERNAL_REGISTRY="https://git.lendry.ru/api/packages/lendry-erp/npm/"
|
||||||
|
|
||||||
|
npm config set @lendry-erp:registry $EXTERNAL_REGISTRY
|
||||||
|
npm config set //git.lendry.ru/api/packages/lendry-erp/npm/:_authToken "${{ secrets.NPM_TOKEN }}"
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: npm publish
|
run: npm publish
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user