chore(deps-dev): bump @types/node from 24.0.15 to 24.9.1 #75
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: CI | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run linting | |
| run: npm run lint:ci | |
| - name: Check TypeScript compilation | |
| run: npm run build:check | |
| - name: Build project | |
| run: npm run build | |
| - name: Run tests | |
| run: npm test | |
| - name: Test CLI functionality | |
| run: | | |
| ./bin/rdformat-validator.js --version | |
| ./bin/rdformat-validator.js --help | |
| echo '{"source":{"name":"test","path":"test.js"},"diagnostics":[]}' | ./bin/rdformat-validator.js | |
| package: | |
| runs-on: ubuntu-latest | |
| needs: [test] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build package | |
| run: npm run build | |
| - name: Test package creation | |
| run: npm pack --dry-run | |
| - name: Test package installation | |
| run: | | |
| npm pack | |
| npm install -g *.tgz | |
| rdformat-validator --version | |
| rdformat-validator --help |