Compare commits
1 Commits
fa0f6e1fe5
..
v2.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| e5d8756241 |
@@ -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