Skip to content

Merge pull request #1179 from kubernetes-client/dependabot/npm_and_ya… #1028

Merge pull request #1179 from kubernetes-client/dependabot/npm_and_ya…

Merge pull request #1179 from kubernetes-client/dependabot/npm_and_ya… #1028

Workflow file for this run

name: Kubernetes Javascript Client - Validation
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18', '16', '14' ]
name: Node ${{ matrix.node }} validation
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
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