Skip to content

Commit 87aae99

Browse files
Merge pull request #82 from solo-io/charlesthebird/compositeAction
workflow
2 parents 2c5ef81 + 4722234 commit 87aae99

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

.github/actions/build-ui.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Build UI
2+
runs:
3+
using: "composite"
4+
steps:
5+
- uses: actions/checkout@v4
6+
- uses: actions/setup-node@v4
7+
with:
8+
node-version-file: ".nvmrc"
9+
cache: "yarn"
10+
cache-dependency-path: "projects/ui/yarn.lock"
11+
- name: Build
12+
run: |
13+
make build-ui

.github/workflows/pull_request.yaml

+2-9
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,5 @@ jobs:
1313
if: ${{ !github.event.pull_request.draft }}
1414
runs-on: ubuntu-20.04
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
18-
with:
19-
node-version-file: ".nvmrc"
20-
cache: "yarn"
21-
cache-dependency-path: "projects/ui/yarn.lock"
22-
- name: Build
23-
run: |
24-
make build-ui
16+
- name: Build UI
17+
uses: actions/build-ui

.github/workflows/release.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1717

1818
steps:
19+
- name: Build UI
20+
uses: actions/build-ui
21+
1922
- name: Checkout repository
2023
uses: actions/checkout@v2
2124

0 commit comments

Comments
 (0)