-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add basic pipeline for ui. Checks for lint, formatting and
type errors and makes sure we can build the static frontend assets
- Loading branch information
1 parent
87c59f2
commit 2cba830
Showing
2 changed files
with
43 additions
and
1 deletion.
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,41 @@ | ||
name: UI CI | ||
|
||
on: | ||
workflow_dispatch: {} | ||
pull_request: | ||
branches: | ||
- main | ||
- release-* | ||
paths: | ||
- desktop/ | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./desktop | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20" | ||
|
||
- name: install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: lint | ||
run: yarn lint:ci | ||
|
||
- name: check format | ||
run: yarn format:check | ||
|
||
- name: check types | ||
run: yarn types:check | ||
|
||
# This only builds the frontend assets, not the full DevPod Desktop app to make it quicker | ||
- name: build | ||
run: yarn build |
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