support solo repos with semantic release

This commit is contained in:
Dan Finch 2026-05-03 12:00:52 +02:00
parent 2602b67938
commit bd354fb57d
3 changed files with 16 additions and 10 deletions

View file

@ -2,11 +2,12 @@
> Tooling and unified configuration for managing a bunch of repositories and packages.
## TODO
## Stack & Standards
- `check` action
- `check` bun script
- `test` bun script
- `release` action
- build with bun?
- run semantic release
- Bun
- TypeScript
- Oxlint & Oxfmt
- Commitlint
- Conventional Commit
- Semantic Release
- Forgejo Actions

View file

@ -1,5 +1,5 @@
name: Semantic Release
description: Run multi-semantic-release for per-package versioning
description: Run semantic-release (multi for monorepos, standard for solo packages)
inputs:
gitea-token:
@ -39,4 +39,9 @@ runs:
GITEA_TOKEN: ${{ inputs.gitea-token }}
GITEA_URL: ${{ inputs.gitea-url }}
NPM_TOKEN: ${{ inputs.npm-token }}
run: bunx multi-semantic-release
run: |
if node -e "const p=require('./package.json'); process.exit(p.workspaces ? 0 : 1)"; then
bunx multi-semantic-release
else
bunx semantic-release
fi

View file

@ -2,7 +2,7 @@ import { defineConfig } from "oxlint"
export default defineConfig({
plugins: ["typescript", "unicorn", "oxc"],
ignorePatterns: ["**/*.gen.ts"],
ignorePatterns: ["**/*.gen.ts", "node_modules/**/*"],
categories: {
correctness: "error",
suspicious: "warn",