Merge pull request #2265 from kevinthenet/fix/jsonpath-plus-vulnerabi… #3076
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: Kubernetes Javascript Client - Validation | |
on: | |
push: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['23', '22', '20', '18'] | |
name: Node ${{ matrix.node }} validation | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
# Pre-check to validate that versions match between package.json | |
# and package-lock.json. Needs to run before npm install | |
- run: node version-check.js | |
- run: npm ci | |
- run: npm test | |
- run: npm run lint | |
- run: npm audit --audit-level=critical | |
- run: npm run build-with-tests && npm run test-transpiled |