-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui): separate renovate and CI/CD (#476)
* chore(renovate): dedicate a group for UI dependencies * chore(ci): dedicate CI for UI
- Loading branch information
1 parent
0eedd74
commit 2006675
Showing
3 changed files
with
78 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Continuous Integration for Frontend | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "ui/**" | ||
|
||
env: | ||
NODE_VERSION: 22 | ||
|
||
jobs: | ||
build: | ||
name: Build UI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ env.NODE_VERSION }}" | ||
- name: Run install | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: install | ||
dir: ui | ||
- name: Run build | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: build | ||
dir: ui | ||
|
||
lint: | ||
name: Lint TS | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "${{ env.NODE_VERSION }}" | ||
- name: Run install | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: install | ||
dir: ui | ||
- name: Run eslint | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: lint | ||
dir: ui | ||
- name: Run prettier | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: format-check | ||
dir: ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters