fix: Harden CI/CD workflows and stabilize pipeline#7
fix: Harden CI/CD workflows and stabilize pipeline#7google-labs-jules[bot] wants to merge 2 commits intomainfrom
Conversation
This commit hardens the CI/CD workflows to ensure a stable and reliable pipeline. The following changes were made:
- **CI Workflow (`ci.yml`):**
- Locked the Node.js version to 20.
- Set `WRANGLER_SEND_ANALYTICS` to `false`.
- Use `npm ci || npm i` for deterministic package installation.
- **Deploy Workflow (`deploy.yml`):**
- Locked the Node.js version to 20.
- Pinned the `wrangler` version to `3`.
- Set `WRANGLER_SEND_ANALYTICS` to `false`.
- Ensured the deploy job only runs on pushes to `main` when `CF_API_TOKEN` and `CF_ACCOUNT_ID` secrets are present.
- Added `--no-bundle` flag to deploy command.
- **`wrangler.toml`:**
- Created a minimal `wrangler.toml` file for Cloudflare Worker configuration.
- **`package.json`:**
- Added `lint` and `typecheck` scripts.
- Added an `engines` field to specify the Node.js version.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. |
This commit improves the repository's hygiene by: - Adding baseline dotfiles: `.gitignore`, `.editorconfig`, and `LICENSE`. - Removing dead files and directories. - Updating the `README.md` file with a project description and an overview of the repository layout.
This PR hardens the CI/CD workflows to ensure a stable and reliable pipeline. It locks the Node.js version, uses deterministic package installation, disables Wrangler analytics, pins the Wrangler version, and ensures the deploy job only runs on pushes to
mainwith the necessary secrets. It also adds a minimalwrangler.tomlfile and updates thepackage.jsonwithlintandtypecheckscripts.PR created automatically by Jules for task 526540209601752806