Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Bucher <[email protected]>
  • Loading branch information
Charlesthebird committed Jul 11, 2024
1 parent 2c5ef81 commit 4722234
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
13 changes: 13 additions & 0 deletions .github/actions/build-ui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Build UI
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
cache-dependency-path: "projects/ui/yarn.lock"
- name: Build
run: |
make build-ui
11 changes: 2 additions & 9 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,5 @@ jobs:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
cache-dependency-path: "projects/ui/yarn.lock"
- name: Build
run: |
make build-ui
- name: Build UI
uses: actions/build-ui
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

steps:
- name: Build UI
uses: actions/build-ui

- name: Checkout repository
uses: actions/checkout@v2

Expand Down

0 comments on commit 4722234

Please sign in to comment.