Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .changeset/changelogs/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main]
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
# The release flow is the single definition in
# systemfsoftware/pnpm-release-management/.github/workflows/release.yml. This
# caller only supplies the trigger and the permissions; the reusable derives
# the phase from repository state, opens the version PR, and on a push that
# leaves untagged versions it tags each one and cuts its GitHub Release. tools-ref
# pins the toolchain revision — a back-edge to the shared tools, consumed per the
# documented contract. There is no npm publish: distribution is this repo's Nix
# flake outputs consumed from a git ref, and the <pkg>@vX.Y.Z git tag is the
# durable record that a version shipped
# caller only supplies the trigger, the permissions every reusable job asks for,
# and the CI workflow the reusable dispatches on the release PR branch (a PR the
# workflow token opens starts no workflows on its own). The reusable derives the
# phase from repository state, opens the version PR, and on a push that leaves
# untagged versions it tags each one and cuts its GitHub Release. It runs the
# release tools from this repo's dev shell, so flake.lock's
# pnpm-release-management input pins their revision. There is no npm publish:
# distribution is this repo's Nix flake outputs consumed from a git ref, and the
# <pkg>@vX.Y.Z git tag is the durable record that a version shipped
name: Release

on:
push:
branches: [main]

permissions:
actions: write
contents: write
pull-requests: write

jobs:
release:
uses: systemfsoftware/pnpm-release-management/.github/workflows/release.yml@main
with:
tools-ref: main
ci-workflow: ci.yml
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
pkgs.nodejs_24
pkgs.deno
pkgs.process-compose
# version-management and github-release-management, which the
# reusable release workflow runs through `nix develop --command`
pnpm-release-management.packages.${pkgs.stdenv.hostPlatform.system}.release-tools
];
};
});
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@
"typecheck": "turbo --concurrency=${TURBO_CONCURRENCY:-100%} --continue typecheck typecheck:node",
"typecheck:node": "tsc -p tsconfig.node.json --noEmit"
},
"type": "module"
"type": "module",
"version": "0.0.0"
}
Loading