Files
js-util/.github/workflows/static.yml
T
sugoidogo 0cb21b3c40
Release / release (push) Failing after 55s
test local npm registry publishing
2025-12-16 23:00:47 -08:00

20 lines
517 B
YAML

name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- 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