fix: standardize code formatting and ensure consistent use of quotes β¦ #2
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: π Deploy to Cloudflare Workers | |
| on: | |
| push: | |
| branches: [main] | |
| env: | |
| NODE_VERSION: "23" | |
| PNPM_VERSION: "10" | |
| jobs: | |
| deploy: | |
| name: π Deploy to Production | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: β¬οΈ Checkout code | |
| uses: actions/checkout@v4 | |
| - name: π Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: ${{ env.PNPM_VERSION }} | |
| - name: π§ Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: "pnpm" | |
| - name: π₯ Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| env: | |
| HUSKY: 0 | |
| - name: π Type check | |
| run: pnpm run types | |
| - name: π Deploy to Cloudflare Workers | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| command: deploy | |
| wranglerVersion: "4.34.0" | |
| packageManager: pnpm | |
| - name: β Deployment Status | |
| if: success() | |
| run: echo "π Successfully deployed mc2-agent to Cloudflare Workers!" |