chore: refresh landing hero demo video #66
This file contains hidden or 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 CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "apps/desktop/src/**" | |
| - "apps/desktop/index.html" | |
| - "apps/desktop/package.json" | |
| - "apps/desktop/postcss.config.js" | |
| - "apps/desktop/tsconfig*.json" | |
| - "apps/desktop/vite.config.*" | |
| - "package.json" | |
| - "pnpm-lock.yaml" | |
| - "dprint.json" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "apps/desktop/src/**" | |
| - "apps/desktop/index.html" | |
| - "apps/desktop/package.json" | |
| - "apps/desktop/postcss.config.js" | |
| - "apps/desktop/tsconfig*.json" | |
| - "apps/desktop/vite.config.*" | |
| - "package.json" | |
| - "pnpm-lock.yaml" | |
| - "dprint.json" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| frontend: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install frontend dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Typecheck and build frontend | |
| run: pnpm run build | |
| - name: Install dprint | |
| run: curl -fsSL https://dprint.dev/install.sh | sh && echo "$HOME/.dprint/bin" >> $GITHUB_PATH | |
| - name: Check formatting | |
| run: dprint check |