mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-05 13:41:59 +00:00
[CI] Rename workflow files (#695)
- Follow-up on #694 Split the file rename out for easier diffs.
This commit is contained in:
35
.github/workflows/test-lint-format.yml
vendored
Normal file
35
.github/workflows/test-lint-format.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Unit Test, Lint, and Format
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master, "dev*"]
|
||||
pull_request:
|
||||
branches: [main, master, "dev*"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: lts/*
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
- name: Run lint
|
||||
run: |
|
||||
npm run lint:ci
|
||||
|
||||
- name: Run format
|
||||
run: |
|
||||
npm run format
|
||||
|
||||
- name: Run vitest tests
|
||||
run: |
|
||||
npm test -- --reporter=verbose
|
||||
Reference in New Issue
Block a user