fix/ci-pub (#13)
Some checks failed
ci / build (push) Successful in 35s
ci / publish-docs (push) Successful in 28s
ci / publish (push) Failing after 2m7s

Reviewed-on: McPeakDev/nychthemeron#13
Co-authored-by: Matthew L McPeak <m.mcpeak98@icloud.com>
Co-committed-by: Matthew L McPeak <m.mcpeak98@icloud.com>
This commit is contained in:
Matthew McPeak 2026-06-12 14:09:18 -04:00 committed by Matthew McPeak
parent 61bec1dfc1
commit 01bbcdabe0

View file

@ -56,7 +56,7 @@ jobs:
container: oven/bun:1
steps:
- name: Install git
run: apt-get update && apt-get install -y git
run: apt-get update && apt-get install -y git nodejs npm
- name: Checkout
uses: actions/checkout@v4
@ -74,11 +74,6 @@ jobs:
run: bun pm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
working-directory: packages/library
- name: Debug token presence
run: '[ -n "$FORGEJO_TOKEN" ] && echo "token set, length: ${#FORGEJO_TOKEN}" || echo "token EMPTY"'
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
- name: Configure registry auth
run: echo "//git.mcpeakdev.com/api/packages/mcpeakdev/npm/:_authToken=${FORGEJO_TOKEN}" > .npmrc
working-directory: packages/library
@ -86,7 +81,7 @@ jobs:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
- name: Publish package
run: bun publish --registry https://git.mcpeakdev.com/api/packages/mcpeakdev/npm/
run: npm publish --registry https://git.mcpeakdev.com/api/packages/mcpeakdev/npm/
working-directory: packages/library
publish-docs: