mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Use node.js 22 by default. Add initial support for node.js 24 (#16018)
This commit is contained in:
committed by
GitHub
parent
3bdbdfe6ce
commit
52a9d4b3d9
12
.github/workflows/ci-master.yml
vendored
12
.github/workflows/ci-master.yml
vendored
@@ -18,11 +18,11 @@ jobs:
|
||||
|
||||
- uses: useblacksmith/setup-node@65c6ca86fdeb0ab3d85e78f57e4f6a7e4780b391 # v5
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 22.x
|
||||
|
||||
- name: Setup corepack and pnpm
|
||||
run: |
|
||||
npm i -g corepack@0.31
|
||||
npm i -g corepack@0.33
|
||||
corepack enable
|
||||
|
||||
- name: Install dependencies
|
||||
@@ -46,14 +46,14 @@ jobs:
|
||||
needs: install-and-build
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
node-version: [20.x, 22.x, 24.x]
|
||||
with:
|
||||
ref: ${{ inputs.branch }}
|
||||
nodeVersion: ${{ matrix.node-version }}
|
||||
cacheKey: ${{ github.sha }}-base:build
|
||||
collectCoverage: ${{ matrix.node-version == '20.x' }}
|
||||
ignoreTurboCache: ${{ matrix.node-version == '20.x' }}
|
||||
skipFrontendTests: ${{ matrix.node-version != '20.x' }}
|
||||
collectCoverage: ${{ matrix.node-version == '22.x' }}
|
||||
ignoreTurboCache: ${{ matrix.node-version == '22.x' }}
|
||||
skipFrontendTests: ${{ matrix.node-version != '22.x' }}
|
||||
secrets:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user