Files
js-util/.github/workflows/static.yml
T
sugoidogo b59ae7d3e2
Release / release (push) Has been cancelled
replace jq with builtin npm command
2025-12-16 23:22:36 -08:00

22 lines
504 B
YAML

name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: npm version from-git
- 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' "$PACKAGES_KEY"
env:
PACKAGES_KEY: ${{ secrets.PACKAGES_KEY }}
- run: npm publish