fix(site): make playground autocomplete context-aware #12
Workflow file for this run
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: Site | |
| on: | |
| pull_request: | |
| paths: | |
| - 'apps/site/**' | |
| - '.github/workflows/site.yml' | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'apps/site/**' | |
| - '.github/workflows/site.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 2 | |
| HUSKY: 0 | |
| NODE_VERSION: 22 | |
| defaults: | |
| run: | |
| working-directory: apps/site | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Cache Yarn cache | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: yarn-cache-site | |
| with: | |
| path: ~/.cache/yarn | |
| key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('apps/site/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ env.cache-name }}- | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| # next build typechecks too, and it is the step that writes the | |
| # gitignored next-env.d.ts a standalone tsc run needs | |
| - name: Build | |
| run: yarn build |