bumped the node versions tested in CI and removed a few of the needs constraints making CI run slower than it can

This commit is contained in:
Frank Elsinga 2024-10-04 04:05:18 +02:00 committed by GitHub
parent e8e83808d3
commit 14199dc2cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,14 +15,14 @@ on:
jobs: jobs:
auto-test: auto-test:
needs: [ check-linters, e2e-test ] needs: [ check-linters ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 15 timeout-minutes: 15
strategy: strategy:
matrix: matrix:
os: [macos-latest, ubuntu-latest, windows-latest, ARM64] os: [macos-latest, ubuntu-latest, windows-latest, ARM64]
node: [ 18, 20.5 ] node: [ 18, 20, 22 ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
@ -42,7 +42,7 @@ jobs:
# As a lot of dev dependencies are not supported on ARMv7, we have to test it separately and just test if `npm ci --production` works # As a lot of dev dependencies are not supported on ARMv7, we have to test it separately and just test if `npm ci --production` works
armv7-simple-test: armv7-simple-test:
needs: [ check-linters ] needs: [ ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 15 timeout-minutes: 15
if: ${{ github.repository == 'louislam/uptime-kuma' }} if: ${{ github.repository == 'louislam/uptime-kuma' }}
@ -77,7 +77,7 @@ jobs:
- run: npm run lint:prod - run: npm run lint:prod
e2e-test: e2e-test:
needs: [ check-linters ] needs: [ ]
runs-on: ARM64 runs-on: ARM64
steps: steps:
- run: git config --global core.autocrlf false # Mainly for Windows - run: git config --global core.autocrlf false # Mainly for Windows