All checks were successful
Deploy to Cloudflare Pages / deploy (push) Successful in 22s
Adds wrangler.toml for Pages config, Gitea Actions workflow that builds with Bun and deploys to Cloudflare Pages on pushes to main. Requires CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets. Also disables subject-case rule in commitlint.
31 lines
833 B
JavaScript
31 lines
833 B
JavaScript
/** @type {import('@commitlint/types').UserConfig} */
|
|
export default {
|
|
extends: ["@commitlint/config-conventional"],
|
|
rules: {
|
|
"type-enum": [
|
|
2,
|
|
"always",
|
|
[
|
|
"feat",
|
|
"fix",
|
|
"docs",
|
|
"style",
|
|
"refactor",
|
|
"perf",
|
|
"test",
|
|
"build",
|
|
"ci",
|
|
"chore",
|
|
"revert",
|
|
],
|
|
],
|
|
"scope-enum": [1, "always", ["page", "style", "config", "deps"]],
|
|
"scope-empty": [1, "never"],
|
|
"subject-case": [0],
|
|
"subject-empty": [2, "never"],
|
|
"subject-full-stop": [2, "never", "."],
|
|
"body-leading-blank": [2, "always"],
|
|
"footer-leading-blank": [2, "always"],
|
|
},
|
|
};
|