uniai/.forgejo/workflows/npm-publish.yml
rus07tam 14bec5c5cd
All checks were successful
Publish to npm / publish-npm (release) Successful in 9s
initial commit
2026-02-08 12:25:57 +00:00

16 lines
434 B
YAML

name: Publish to npm
on:
release:
types: [published]
jobs:
publish-npm:
runs-on: ubuntu-25.10
steps:
- uses: https://github.com/actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- uses: https://github.com/oven-sh/setup-bun@b7a1c7ccf290d58743029c4f6903da283811b979
- run: bun install
- run: bun publish --access public
env:
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}