Skip to content

Commit c18a488

Browse files
authored
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
1 parent 1734a64 commit c18a488

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/gradle-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@ jobs:
2424
java-version: '21'
2525
distribution: 'temurin'
2626

27+
- name: Set up Node.js
28+
uses: actions/setup-node@v6
29+
with:
30+
node-version: '22' # increase only after https://github.com/nodejs/node/issues/56645 will be fixed
31+
2732
- name: Setup Gradle
2833
uses: gradle/actions/setup-gradle@v6
2934

30-
- name: Build
31-
run: ./gradlew build --rerun-tasks --max-workers 2 --continue
35+
- name: Check
36+
run: ./gradlew check --no-configuration-cache
3237

3338
- name: Publish to Maven Central Portal
3439
id: publish

0 commit comments

Comments
 (0)