Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit 79c4f43

Browse files
Add setup-node step to compiler build
1 parent 4bffb37 commit 79c4f43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
env:
2424
FORCE_COLOR: '1'
25+
NODE_VERSION: '22.x'
2526
steps:
2627
- name: Setup Java
2728
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
@@ -39,6 +40,11 @@ jobs:
3940
disk-cache: ${{ github.workflow }}
4041
# Share repository cache between workflows.
4142
repository-cache: true
43+
- name: Use Node.js ${{ env.NODE_VERSION }}
44+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0
45+
with:
46+
node-version: ${{ env.NODE_VERSION }}
47+
cache: yarn
4248
- name: Checkout repo
4349
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
4450
with:

0 commit comments

Comments
 (0)