Repository navigation
fix: add repository field to workspace package.json files for npm trusted publishing #371
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
| name: CLI Tests | |
| on: | |
| push: | |
| paths: | |
| - "cli/**" | |
| pull_request: | |
| paths: | |
| - "cli/**" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./cli | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: package.json | |
| cache: npm | |
| - name: Install dependencies | |
| run: | | |
| cd .. | |
| npm ci --ignore-scripts | |
| - name: Build CLI | |
| run: npm run build | |
| - name: Run tests | |
| run: npm test | |
| env: | |
| NPM_CONFIG_YES: true | |
| CI: true |