|
1 | 1 | name: Kubernetes Javascript Client - Validation |
2 | 2 |
|
3 | 3 | on: |
4 | | - push: |
5 | | - branches: [ master, release-1.x ] |
6 | | - pull_request: |
7 | | - branches: [ master, release-1.x ] |
| 4 | + push: |
| 5 | + branches: [master, release-1.x] |
| 6 | + pull_request: |
| 7 | + branches: [master, release-1.x] |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - build: |
11 | | - runs-on: ubuntu-latest |
12 | | - strategy: |
13 | | - matrix: |
14 | | - # Remove specific version from 20 when https://github.com/tschaub/mock-fs/issues/380 is fixed |
15 | | - node: [ '22', '20.7.0', '18' ] |
16 | | - name: Node ${{ matrix.node }} validation |
17 | | - steps: |
18 | | - - uses: actions/checkout@v2 |
19 | | - - uses: actions/setup-node@v2 |
20 | | - with: |
21 | | - node-version: ${{ matrix.node }} |
22 | | - # Pre-check to validate that versions match between package.json |
23 | | - # and package-lock.json. Needs to run before npm install |
24 | | - - run: node version-check.js |
25 | | - - run: npm ci |
26 | | - - run: npm test |
27 | | - - run: npm run lint |
28 | | - - run: npm audit --audit-level=critical |
| 10 | + build: |
| 11 | + runs-on: ubuntu-latest |
| 12 | + strategy: |
| 13 | + matrix: |
| 14 | + node: ['23', '22', '20', '18'] |
| 15 | + name: Node ${{ matrix.node }} validation |
| 16 | + steps: |
| 17 | + - uses: actions/checkout@v4 |
| 18 | + - uses: actions/setup-node@v4 |
| 19 | + with: |
| 20 | + node-version: ${{ matrix.node }} |
| 21 | + # Pre-check to validate that versions match between package.json |
| 22 | + # and package-lock.json. Needs to run before npm install |
| 23 | + - run: node version-check.js |
| 24 | + - run: npm ci |
| 25 | + - run: npm test |
| 26 | + - run: npm run lint |
| 27 | + - run: npm audit --audit-level=critical |
0 commit comments