Cleanup refactoring #5
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: Validate docs | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/*.md' | |
| - '.github/workflows/**' | |
| - 'src/**' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Cache node modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Build | |
| run: npm run build | |
| - name: Format check | |
| run: npm run format:check | |
| - name: Lint (CI) | |
| run: npm run lint:ci | |
| - name: Run validator unit tests | |
| run: npm test | |
| - name: List Tasks (smoke) | |
| run: node dist/cli.js task list || true |