fix(ci): add node setup in release workflow (#684)
- Added `setup-node` with Node.js 22 to the release workflow — without it, TypeScript integration tests fail because the macOS runner has an incompatible pre-installed Node.js version
This commit is contained in:
parent
1734a647c4
commit
c18a488785
1 changed files with 7 additions and 2 deletions
9
.github/workflows/gradle-publish.yml
vendored
9
.github/workflows/gradle-publish.yml
vendored
|
|
@ -24,11 +24,16 @@ jobs:
|
|||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '22' # increase only after https://github.com/nodejs/node/issues/56645 will be fixed
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v6
|
||||
|
||||
- name: Build
|
||||
run: ./gradlew build --rerun-tasks --max-workers 2 --continue
|
||||
- name: Check
|
||||
run: ./gradlew check --no-configuration-cache
|
||||
|
||||
- name: Publish to Maven Central Portal
|
||||
id: publish
|
||||
|
|
|
|||
Loading…
Reference in a new issue