From a8ebe8183aa2a360c3c9f12bea977f234af52411 Mon Sep 17 00:00:00 2001 From: PPawlowski Date: Mon, 23 Mar 2026 18:19:04 +0100 Subject: [PATCH 1/3] Set Node 24 as a default version in workflow --- .github/workflows/publish_node_package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_node_package.yml b/.github/workflows/publish_node_package.yml index c736f4b..9e86561 100644 --- a/.github/workflows/publish_node_package.yml +++ b/.github/workflows/publish_node_package.yml @@ -22,7 +22,7 @@ on: description: 'Node.js version' required: false type: string - default: '20' + default: '24' npm_registry_url: description: 'NPM registry URL' required: false From a4ce85e11faef877561dab9c19d4076c61e384f0 Mon Sep 17 00:00:00 2001 From: PPawlowski Date: Mon, 23 Mar 2026 18:19:42 +0100 Subject: [PATCH 2/3] Set Node 24 as a default version in workflow --- .github/workflows/build_node_package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_node_package.yml b/.github/workflows/build_node_package.yml index 6380edb..8531e90 100644 --- a/.github/workflows/build_node_package.yml +++ b/.github/workflows/build_node_package.yml @@ -7,7 +7,7 @@ on: description: 'JSON array of Node.js versions and parameters' required: false type: string - default: '[{"version": "20", "tests": true, "lint": true}]' + default: '[{"version": "24", "tests": true, "lint": true}]' jobs: build: From 23391898dd481e9c63f40ab299f982ee3b967b95 Mon Sep 17 00:00:00 2001 From: PPawlowski Date: Mon, 23 Mar 2026 18:20:19 +0100 Subject: [PATCH 3/3] Set Node 24 as a default version in workflow --- .../workflows/build_node_package_with_pgsql.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_node_package_with_pgsql.yml b/.github/workflows/build_node_package_with_pgsql.yml index df10168..02197a0 100644 --- a/.github/workflows/build_node_package_with_pgsql.yml +++ b/.github/workflows/build_node_package_with_pgsql.yml @@ -3,11 +3,11 @@ name: Build and test npm package with PostgreSQL service on: workflow_call: inputs: - run_tests: - description: 'Run tests' + node: + description: 'JSON array of Node.js versions and parameters' required: false - type: boolean - default: false + type: string + default: '[{"version": "24", "tests": true, "lint": true}]' jobs: build: @@ -27,22 +27,23 @@ jobs: - 5432:5432 strategy: matrix: - node-version: [20.x] + node: ${{ fromJson(inputs.node)}} steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Use Node.js ${{ inputs.node_version }} + - name: Use Node.js ${{ matrix.node.version }} uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 with: - node-version: ${{ inputs.node_version }} + node-version: ${{ matrix.node.version }} - name: Install Dependencies run: npm ci - name: Run lint + if: ${{ fromJson(matrix.node.lint) }} run: npm run lint - name: Run tests - if: ${{ fromJson(inputs.run_tests) }} + if: ${{ fromJson(matrix.node.tests) }} run: npm run test