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
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ concurrency:

jobs:
package:
uses: tinyland-inc/ci-templates/.github/workflows/js-bazel-package.yml@d202fc07c0f311c2678a551a9bce1b2a867f6ae4
uses: tinyland-inc/ci-templates/.github/workflows/js-bazel-package.yml@61cd1338ca9dae8a25985c0a36ff7beb111449be
with:
runner_mode: hosted
runner_mode: repo_owned
runner_labels_json: ${{ vars.PRIMARY_LINUX_RUNNER_LABELS_JSON }}
workspace_mode: isolated
publish_mode: same_runner
publish_mode: hosted_exception
npm_publish_mode: disabled
node_versions: '["22"]'
publish_node_version: "22"
pnpm_version: "9.15.9"
Expand All @@ -29,5 +31,6 @@ jobs:
bazel_targets: "//:pkg //:package_consumer_check //:bundle_size_check //:typecheck //:test"
package_dir: ./bazel-bin/pkg
npm_access: public
github_package_name: "@tinyland-inc/tinyvectors"
dry_run: true
secrets: inherit
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ permissions:

jobs:
package:
uses: tinyland-inc/ci-templates/.github/workflows/js-bazel-package.yml@d202fc07c0f311c2678a551a9bce1b2a867f6ae4
uses: tinyland-inc/ci-templates/.github/workflows/js-bazel-package.yml@61cd1338ca9dae8a25985c0a36ff7beb111449be
with:
runner_mode: hosted
runner_mode: repo_owned
runner_labels_json: ${{ vars.PRIMARY_LINUX_RUNNER_LABELS_JSON }}
workspace_mode: isolated
publish_mode: same_runner
publish_mode: hosted_exception
npm_publish_mode: disabled
node_versions: '["22"]'
publish_node_version: "22"
pnpm_version: "9.15.9"
Expand All @@ -29,5 +31,6 @@ jobs:
bazel_targets: "//:pkg //:package_consumer_check //:bundle_size_check //:typecheck //:test"
package_dir: ./bazel-bin/pkg
npm_access: public
github_package_name: "@tinyland-inc/tinyvectors"
dry_run: false
secrets: inherit
7 changes: 5 additions & 2 deletions scripts/check-release-metadata.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ const expectedPackageCheckCommand = 'pnpm run check:package && pnpm run check:bu
const expectedPrepublishOnlyCommand =
'pnpm run check:release-metadata && pnpm run build && pnpm run check:package && pnpm run check:bundle-size';
const expectedSharedWorkflowInputs = {
runner_mode: 'hosted',
runner_mode: 'repo_owned',
runner_labels_json: '${{ vars.PRIMARY_LINUX_RUNNER_LABELS_JSON }}',
workspace_mode: 'isolated',
publish_mode: 'same_runner',
publish_mode: 'hosted_exception',
npm_publish_mode: 'disabled',
node_versions: `["${expectedNodeMajor}"]`,
publish_node_version: expectedNodeMajor,
pnpm_version: expectedPnpmVersion,
Expand All @@ -32,6 +34,7 @@ const expectedSharedWorkflowInputs = {
bazel_targets: expectedBazelTargets,
package_dir: expectedPackageDir,
npm_access: 'public',
github_package_name: '@tinyland-inc/tinyvectors',
};

const extract = (source, pattern, label) => {
Expand Down
Loading