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 code uses: actions/checkout@v5 - name: Use Node.js 22.x uses: actions/setup-node@v5 with: node-version: 22.x cache: 'npm' - name: Install dependencies run: npm ci - name: Setup and run tsc run: npm run setup - name: Esbuild run: npm run esbuild