test local npm registry publishing
Release / release (push) Failing after 55s

This commit is contained in:
2025-12-16 23:00:47 -08:00
parent 4fe053c324
commit 0cb21b3c40
+4 -10
View File
@@ -13,13 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: npm pack
- run: mv js-util*.tgz js-util.tgz
- run: git log $(git describe --tags --abbrev=0 HEAD~1)..HEAD --oneline > changelog.txt
- uses: softprops/action-gh-release@v2
with:
make_latest: true
body_path: changelog.txt
files: js-util.tgz
- run: jq --arg version $(git describe --tags --abbrev=0 HEAD) '.version=$version' package.json
- run: npm config set registry https://gitea.sugoidogo.com/api/packages/sugoidogo/npm/
- run: npm config set -- '//gitea.example.com/api/packages/sugoidogo/npm/:_authToken' "${{ env.PACKAGES_KEY }}"
- run: npm publish