-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
36 additions
and
196 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
This file was deleted.
Oops, something went wrong.
46 changes: 27 additions & 19 deletions
46
.github/workflows/test-tabby-ui.yml → .github/workflows/test-pnpm.yml
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 |
---|---|---|
@@ -1,41 +1,49 @@ | ||
name: Test Tabby UI | ||
name: autofix.ci | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
branches: ["main" ] | ||
paths: | ||
- '.github/workflows/test-tabby-ui.yml' | ||
- '.github/workflows/autofix-pnpm.yml' | ||
- 'clients/**' | ||
- 'ee/tabby-ui/**' | ||
- 'ee/tabby-schema/graphql/**' | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow_ref }}-${{ github.head_ref || github.ref_name }} | ||
group: ${{ github.workflow_ref }}-${{ github.head_ref || github.ref_name }} | ||
|
||
# If this is enabled it will cancel current running and start latest | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
tests: | ||
autofix: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.x' | ||
cache: yarn | ||
cache-dependency-path: 'yarn.lock' | ||
cache: pnpm | ||
cache-dependency-path: 'pnpm-lock.yaml' | ||
|
||
- name: Install dependencies | ||
working-directory: ./ee/tabby-ui | ||
run: yarn install | ||
- name: Format | ||
working-directory: ./ee/tabby-ui | ||
run: yarn format:check | ||
run: pnpm install | ||
|
||
- name: Lint | ||
working-directory: ./ee/tabby-ui | ||
run: yarn lint | ||
- name: Test build | ||
run: pnpm lint | ||
|
||
- name: Test | ||
working-directory: ./ee/tabby-ui | ||
run: pnpm test | ||
|
||
- name: Build | ||
working-directory: ./ee/tabby-ui | ||
run: yarn build | ||
|
||
run: pnpm build |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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