@rightkit/ci 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.mjs +1 -1
- package/manifest.mjs +2 -2
- package/package.json +3 -4
package/install.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { MANIFEST_FILENAME, validateManifest } from "./manifest.mjs";
|
|
|
12
12
|
import { applyPlan, planSync } from "./sync.mjs";
|
|
13
13
|
|
|
14
14
|
export const DEFAULT_MATRIX = { os: ["ubuntu-latest", "macos-latest", "windows-latest"], node: ["22.13", "24"] };
|
|
15
|
-
export const DEFAULT_PACKAGE_MANAGER = "pnpm@
|
|
15
|
+
export const DEFAULT_PACKAGE_MANAGER = "pnpm@12.16.1";
|
|
16
16
|
export const DEFAULT_TEMPLATE_VERSION = "1.8.0";
|
|
17
17
|
|
|
18
18
|
/**
|
package/manifest.mjs
CHANGED
|
@@ -547,7 +547,7 @@ export function parsePackageManager(spec) {
|
|
|
547
547
|
}[name];
|
|
548
548
|
const runPrefix = { pnpm: "pnpm run", npm: "npm run", yarn: "yarn run" }[name];
|
|
549
549
|
const setup = {
|
|
550
|
-
pnpm: ` - uses: pnpm/action-setup@
|
|
550
|
+
pnpm: ` - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0\n with:\n version: ${version}`,
|
|
551
551
|
npm: "",
|
|
552
552
|
yarn: ` - run: corepack enable && corepack prepare yarn@${version} --activate`,
|
|
553
553
|
}[name];
|
|
@@ -1427,7 +1427,7 @@ ${pm.setup ? `${pm.setup}\n` : ""} - run: ${pm.installCommand}${ownershipSt
|
|
|
1427
1427
|
git cat-file -e "$head_sha^{commit}" 2>/dev/null || fail "source commit $head_sha is not in this repository's history"
|
|
1428
1428
|
git merge-base --is-ancestor "$head_sha" "$GITHUB_SHA" || fail "source commit $head_sha is not an ancestor of the signing revision $GITHUB_SHA"
|
|
1429
1429
|
mkdir -p "$RUNNER_TEMP/dev-signed"
|
|
1430
|
-
jq -n --arg
|
|
1430
|
+
jq -n --arg r "$GITHUB_REPOSITORY" --arg n "$run_id" --argjson a "$artifact_id" --arg m "$artifact_name" --arg s "$head_sha" --arg q "$INPUT_SOURCE_SHA" --arg g "$GITHUB_SHA" '{schema: 1, repository: $r, runId: $n, artifactId: $a, artifactName: $m, sourceSha: $s, requestedSourceSha: $q, signingRevision: $g}' > "$RUNNER_TEMP/dev-signed/source-verification.json"
|
|
1431
1431
|
{
|
|
1432
1432
|
printf 'run_id=%s\\n' "$run_id"
|
|
1433
1433
|
printf 'artifact_id=%s\\n' "$artifact_id"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rightkit/ci",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Public-repo-only GitHub Actions workflow layer: templates, visibility gate, sync/drift/adopt/uninstall for right-git.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"templates",
|
|
23
23
|
"*.mjs",
|
|
24
24
|
"*.json",
|
|
25
|
-
"!*.test.mjs"
|
|
26
|
-
"!test-support.mjs"
|
|
25
|
+
"!*.test.mjs"
|
|
27
26
|
],
|
|
28
27
|
"sideEffects": false,
|
|
29
28
|
"publishConfig": {
|
|
@@ -36,6 +35,6 @@
|
|
|
36
35
|
"directory": "packages/ci"
|
|
37
36
|
},
|
|
38
37
|
"scripts": {
|
|
39
|
-
"test": "node --test
|
|
38
|
+
"test": "node --test pack-smoke.test.mjs"
|
|
40
39
|
}
|
|
41
40
|
}
|