chore: enter without semi will trigger execute for redis in sql editor admin mode #7752
Workflow file for this run
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
name: Frontend Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
- "release/*.*.*" | |
paths: | |
- "frontend/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
static-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.14.0" | |
cache: pnpm | |
cache-dependency-path: "frontend/pnpm-lock.yaml" | |
- run: pnpm install --frozen-lockfile | |
working-directory: frontend | |
- name: Run pnpm lint | |
run: pnpm lint | |
working-directory: frontend | |
- name: Run pnpm type-check | |
run: pnpm type-check | |
working-directory: frontend | |
frontend-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.14.0" | |
cache: pnpm | |
cache-dependency-path: "frontend/pnpm-lock.yaml" | |
- run: pnpm install --frozen-lockfile | |
working-directory: frontend | |
- name: Copy config files | |
run: | | |
cp ../backend/plugin/advisor/config/* ./src/types | |
cp ../backend/enterprise/api/plan.yaml ./src/types | |
working-directory: frontend | |
- name: Run pnpm test | |
run: pnpm test | |
working-directory: frontend | |
- name: Run pnpm release build | |
run: pnpm release-docker | |
working-directory: frontend |