Compare commits
1 Commits
fa0f6e1fe5
..
v2.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| e5d8756241 |
@@ -14,15 +14,16 @@ jobs:
|
||||
|
||||
- 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
|
||||
run: npm install --registry https://packages.tenere.ai
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Publish to Gitea npm
|
||||
env:
|
||||
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/
|
||||
run: npm publish
|
||||
|
||||
Reference in New Issue
Block a user