Bump eslint from 9.39.2 to 10.0.3 #2006
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: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| permissions: | |
| contents: read | |
| actions: read | |
| checks: write | |
| pull-requests: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js 24 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Install dependencies with CI | |
| run: npm ci | |
| - name: Lint codebase | |
| run: npm run lint | |
| - name: Validate unused dependencies, exports, and files | |
| run: npm run lint:deps:ci | |
| - name: Build TS | |
| run: npm run build | |
| - name: Run tests | |
| run: npm test | |
| - name: Build samples | |
| run: npm run build:samples | |
| - name: Set Version | |
| run: node setVersion.js | |
| - name: Publish Test Report | |
| uses: dorny/test-reporter@v1 | |
| if: success() || failure() | |
| with: | |
| name: Node Tests | |
| path: test-report.xml | |
| reporter: java-junit | |