Skip to content

build(deps-dev): bump eslint from 10.2.1 to 10.3.0 #4198

build(deps-dev): bump eslint from 10.2.1 to 10.3.0

build(deps-dev): bump eslint from 10.2.1 to 10.3.0 #4198

Workflow file for this run

name: Kubernetes Javascript Client - Validation
on:
push:
branches: [master, main]
paths:
- 'src/**'
- 'testdata/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig*.json'
- 'eslint.config.js'
- 'version-check.js'
- '.github/workflows/test.yml'
pull_request:
branches: [master, main]
paths:
- 'src/**'
- 'testdata/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig*.json'
- 'eslint.config.js'
- 'version-check.js'
- '.github/workflows/test.yml'
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node: ['26', '25', '24', '22']
name: Node ${{ matrix.node }} validation
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
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
# Node 26 has a known incompatibility: extension-less files in "type: module"
# packages are treated as ESM, causing c8's require('yargs/yargs') to fail.
# Fall back to plain unit tests without coverage on Node 26 until upstream fixes this.
- if: matrix.node != '26'
run: npm test
- if: matrix.node == '26'
run: npm run test-no-coverage
- run: npm run lint
- run: npm audit --audit-level=critical
- run: npm run build-with-tests && npm run test-transpiled
- name: Create k8s Kind Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
- run: npm run integration-test
zizmor:
runs-on: ubuntu-latest
name: GitHub Actions security lint
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
advanced-security: false
persona: pedantic
min-severity: medium