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

Commit 77c9642

Browse files
Move setup-node step after repo checkout
1 parent 79c4f43 commit 77c9642

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ jobs:
4040
disk-cache: ${{ github.workflow }}
4141
# Share repository cache between workflows.
4242
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
4843
- name: Checkout repo
4944
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
5045
with:
@@ -53,6 +48,11 @@ jobs:
5348
- name: Fetch submodule tags
5449
working-directory: compiler
5550
run: git fetch --tags https://github.com/google/closure-compiler.git
51+
- name: Use Node.js ${{ env.NODE_VERSION }}
52+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0
53+
with:
54+
node-version: ${{ env.NODE_VERSION }}
55+
cache: yarn
5656
- name: Install packages
5757
run: yarn install --colors=always
5858
- name: Build jar

0 commit comments

Comments
 (0)