Skip to content

fix: keep published bin path npm-compatible #1

fix: keep published bin path npm-compatible

fix: keep published bin path npm-compatible #1

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
cache: npm
- run: npm ci
- run: npm run build
- run: npm test
- run: npm run pack:smoke
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}