CLI now shows task tool and rule recommendations #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |