@@ -0,0 +1,17 @@
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- run: npm ci
|
||||
- run: npm version from-git --allow-same-version --no-git-tag-version
|
||||
- run: npm config set registry https://gitea.sugoidogo.com/api/packages/sugoidogo/npm/
|
||||
- run: npm config set -- '//gitea.sugoidogo.com/api/packages/sugoidogo/npm/:_authToken' "$PACKAGES_KEY"
|
||||
env:
|
||||
PACKAGES_KEY: ${{ secrets.PACKAGES_KEY }}
|
||||
- run: npm publish
|
||||
Reference in New Issue
Block a user