Skip to content

fix: issue with command without any arguments throwing error (when no… #110

fix: issue with command without any arguments throwing error (when no…

fix: issue with command without any arguments throwing error (when no… #110

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- release
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm run build
- run: npm test
- run: node pkg.js
- run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- run: git fetch origin
- run: git checkout main
- run: git rebase origin/release
- run: git push origin main --force-with-lease --tags