Skip to content

CLI now shows task tool and rule recommendations #6

CLI now shows task tool and rule recommendations

CLI now shows task tool and rule recommendations #6

Workflow file for this run

on:
push:
branches:
- '**' # Run on all branches
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'latest'
- run: npm ci
- run: npm install -g tsx
- run: npm run build # Add build step if needed
- run: npm test
publish:
needs: test
if: github.ref == 'refs/heads/main' # Only run this job on main branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'latest'
- run: npm ci
- run: npm install -g tsx
- run: npm run build # Add build step here too
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}