ci: added test publish workflow
Some checks failed
/ test-publish (push) Failing after 20s

This commit is contained in:
Daniel Fichtinger 2025-07-13 21:59:53 -04:00
parent e69dd80875
commit c7249ac59d
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,20 @@
on: push
jobs:
test-publish:
runs-on: docker
container:
image: node:alpine
steps:
- name: Install dependencies
run: |
apk add --no-cache coreutils uv
- uses: actions/checkout@v4
- name: build
run: |
uv sync --no-dev
uv build
- name: publish
run: |
uv publish --token ${{ secrets.TEST_PYPI_TOKEN }} \
--index test_pypi

View file

@ -36,6 +36,12 @@ zona = "zona.cli:main"
requires = ["hatchling"] requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[[tool.uv.index]]
name = "test_pypi"
url = "https://test.pypi.org/simple"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.basedpyright] [tool.basedpyright]
include = ["src", "."] include = ["src", "."]
exclude = [ exclude = [