File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 go-version : ${{ fromJSON(steps.resolve-environment.outputs.environment).configuration.go.version }}
7575 cache : false
7676
77+ - name : Set up Node.js
78+ if : matrix.language == 'go'
79+ uses : actions/setup-node@v4
80+ with :
81+ node-version : " 20"
82+ cache : " npm"
83+ cache-dependency-path : ui/package-lock.json
84+
85+ - name : Build UI
86+ if : matrix.language == 'go'
87+ run : script/build-ui
88+
7789 - name : Autobuild
7890 uses : github/codeql-action/autobuild@v4
7991
Original file line number Diff line number Diff line change 1616 - name : Checkout code
1717 uses : actions/checkout@v6
1818
19+ - name : Set up Node.js
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : " 20"
23+ cache : " npm"
24+ cache-dependency-path : ui/package-lock.json
25+
26+ - name : Build UI
27+ run : script/build-ui
28+
1929 - name : Set up Go
2030 uses : actions/setup-go@v6
2131 with :
Original file line number Diff line number Diff line change 3232 GH_TOKEN : ${{ github.token }}
3333 run : gh pr checkout ${{ github.event.pull_request.number }}
3434
35+ - name : Set up Node.js
36+ uses : actions/setup-node@v4
37+ with :
38+ node-version : " 20"
39+ cache : " npm"
40+ cache-dependency-path : ui/package-lock.json
41+
42+ - name : Build UI
43+ run : script/build-ui
44+
3545 - name : Set up Go
3646 uses : actions/setup-go@v6
3747 with :
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v6
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : " 20"
20+ cache : " npm"
21+ cache-dependency-path : ui/package-lock.json
22+ - name : Build UI
23+ run : script/build-ui
1724 - uses : actions/setup-go@v6
1825 with :
1926 go-version : stable
You can’t perform that action at this time.
0 commit comments