name: 'Copilot Setup Steps' on: workflow_dispatch: push: paths: - .github/workflows/copilot-setup-steps.yml pull_request: paths: - .github/workflows/copilot-setup-steps.yml jobs: copilot-setup-steps: runs-on: ubuntu-latest permissions: contents: read steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install pnpm uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4 with: version: 10 - name: Setup Node.js uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 with: node-version: '24' cache: 'pnpm' - name: Clone and build barazo-lexicons run: | git clone --depth 1 https://github.com/singi-labs/barazo-lexicons.git ../barazo-lexicons cd ../barazo-lexicons && pnpm install --ignore-scripts && pnpm run build - name: Install dependencies run: pnpm install --frozen-lockfile - name: Typecheck run: pnpm typecheck - name: Run tests run: pnpm test env: NEXT_PUBLIC_API_URL: http://localhost:3100