Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
- name: Upgrade npm for trusted publishing
run: npm install -g npm@latest
# Pin the npm major version instead of tracking npm@latest so a new npm
# release with a higher Node engine requirement can't break this step.
run: npm install -g npm@11
- name: Install PHP
run: |
brew update
Expand Down
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,16 @@ runs:
if: ${{ env.JDEPLOY_SKIP_EXECUTION != 'true' }}
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'

- name: Upgrade npm for trusted publishing
if: ${{ env.JDEPLOY_SKIP_EXECUTION != 'true' }}
run: npm install -g npm@latest
# Only needed for npm trusted publishing (OIDC provenance); GitHub
# releases don't use it. Pin the major version rather than tracking
# npm@latest so a new npm release with a higher Node engine requirement
# can't break this step without a Node bump here.
if: ${{ env.JDEPLOY_SKIP_EXECUTION != 'true' && inputs.deploy_target == 'npm' }}
run: npm install -g npm@11
shell: bash

- name: Setup jDeploy Registry
Expand Down
Loading