Repository navigation
CI on pull requests, and the CI checklist's checks (sc-9610) - #6
Open
ndbroadbent wants to merge 3 commits into
Open
ndbroadbent wants to merge 3 commits into
ndbroadbent wants to merge 3 commits into
Conversation
…ode was written) and fix oxlint's findings: unused catch bindings, spreads with an empty fallback, and an unused test helper (sc-9610)
… to Zapier: a type check of the JavaScript, oxlint, a coverage floor, a smoke test (Zapier's validation, a changelog entry for the version, .env kept out of the upload), Knip, jscpd, file lengths, lint suppressions, typos, actionlint, zizmor, Betterleaks, npm audit with expiring ignores and a licence check; oxfmt and fixes in a pre-commit hook; Dependabot with a 7-day cooldown. The repeated test setups jscpd found become helpers, the shared output fields one list, and the type check's findings are fixed. zapier-platform-core 19.3.0 (a fixed form-data) and Jest 30 (sc-9610)
… Apache-2.0) AND GPL-3.0-only isn't allowed (sc-9610)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At a glance
.github/workflows/ci.yml). The repo had none.mise run ci(scripts/ci.sh), runs what CI runs. The pre-push hook runs it, and so doesnpm run push, before it pushes a version to Zapier.lefthook.yml), set to the code's existing style (no semicolons, single quotes, 80 columns). CI has no format check.module.exports, unused catch bindings, spreads with an empty fallback). The repeated test setups jscpd found become helpers, and two resources share one list of output fields. The 250 tests pass unchanged.npm run push; nothing is pushed by this PR.Checks added (sc-9610)
tscon the JavaScript (checkJs), with Zapier's and Jest's typesscripts/smoke_test.js: Zapier's own validation of the app (whatzapier-platform validateruns, through zapier-platform-core), aCHANGELOG.mdentry for the version, and.envignored by git so a push never uploads itrequirelines have ignore markers with a commentscripts/check_file_length.sh(500 code, 1000 tests)scripts/check_lint_suppressions.sh: none allowed_typos.toml)scripts/check_audit.mjs:npm auditminusaudit-ignores.json, each ignore with a reason and an expiry of at most six months; it fails on an expired ignore or one that no longer matches. Today: cross-spawn (Jest's, Windows only, fixed release under 7 days old) and glob and minimatch inside Jest 30's own version ranges, all dev onlyscripts/check_licences.mjs: the runtime dependencies must be permissive, reading SPDX expressions with their grouping. Zapier's SDK (the Zapier Platform Agreement) and three of its dependencies are named exceptions with reasonszapier-platform-cliisn't added as a dev dependency: it brings several hundred packages, many with advisories, into the audit.AGENTS.mdlists the checks.Not in this PR
npm install -g zapier-platform-cli@19.3.0) before the nextnpm run push.Testing
mise run cipasses locally, and the pre-push hook ran it on this push.noun.AI review: codex review (1 round), last run on cdcd823. 1 finding, fixed: the licence check ignored the grouping in SPDX expressions (eb8df8c, also fixed in the n8n PR).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.