fix: use dynamic org name, remove duplicate .npmrc
Publish npm Package / publish (push) Failing after 7s
Publish npm Package / publish (push) Failing after 7s
This commit is contained in:
@@ -14,15 +14,16 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Auth for Gitea npm registry
|
||||||
|
run: |
|
||||||
|
echo "@${{ github.repository_owner }}:registry=https://hub.kl1.tenere.ai/api/packages/${{ github.repository_owner }}/npm/" > .npmrc
|
||||||
|
echo "//hub.kl1.tenere.ai/api/packages/${{ github.repository_owner }}/npm/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm install --registry https://packages.tenere.ai
|
run: npm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Publish to Gitea npm
|
- name: Publish to Gitea npm
|
||||||
env:
|
run: npm publish
|
||||||
NPM_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
|
||||||
run: |
|
|
||||||
echo "//hub.kl1.tenere.ai/api/packages/apophis/npm/:_authToken=${NPM_TOKEN}" > .npmrc
|
|
||||||
npm publish --registry https://hub.kl1.tenere.ai/api/packages/apophis/npm/
|
|
||||||
|
|||||||
Reference in New Issue
Block a user