Compare commits

...

10 Commits

Author SHA1 Message Date
David Blass ec0eeb1d18 add packageManager to action package.json 2025-10-13 15:27:46 -04:00
David Blass 8ef805b9fc remove pnpm version from publish action 2025-10-13 15:27:05 -04:00
David Blass 6e93fd9a72 specify packageManager 2025-10-13 15:24:04 -04:00
David Blass 9567d84442 setup pnpm first 2025-10-13 15:21:09 -04:00
David Blass d79564db5e add pnpm setup 2025-10-13 15:14:51 -04:00
David Blass a7a0e87fd8 setup deps 2025-10-13 15:12:38 -04:00
David Blass 7050b8de75 switch to composite action 2025-10-13 15:03:06 -04:00
David Blass 2fc3ddee16 bump 2025-10-13 14:23:35 -04:00
David Blass 284d9733dd bump 2025-10-13 14:22:12 -04:00
David Blass 94e2b5f6e0 add terrible debugging 2025-10-13 14:19:47 -04:00
6 changed files with 28 additions and 13 deletions
+1 -3
View File
@@ -23,13 +23,11 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "24"
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
+18 -2
View File
@@ -18,8 +18,24 @@ inputs:
required: false
runs:
using: "node20"
main: "entry.cjs"
using: "composite"
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js 24
uses: actions/setup-node@v4
with:
node-version: "24"
cache: "pnpm"
cache-dependency-path: ${{ github.action_path }}/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
shell: bash
working-directory: ${{ github.action_path }}
- name: Run agent
run: node entry.ts
shell: bash
working-directory: ${{ github.action_path }}
branding:
icon: "code"
+4 -2
View File
@@ -25674,7 +25674,8 @@ function createMcpConfig(githubInstallationToken) {
args: [`${actionPath}/mcp/server.ts`],
env: {
GITHUB_INSTALLATION_TOKEN: githubInstallationToken,
GITHUB_REPOSITORY: githubRepository
GITHUB_REPOSITORY: githubRepository,
LOG_LEVEL: "debug"
}
}
}
@@ -26163,7 +26164,7 @@ async function main(params) {
// package.json
var package_default = {
name: "@pullfrog/action",
version: "0.0.28",
version: "0.0.38",
type: "module",
files: [
"index.js",
@@ -26189,6 +26190,7 @@ var package_default = {
upDeps: "pnpm up --latest",
createLockfile: "pnpm --ignore-workspace install"
},
packageManager: "pnpm@10.18.2",
dependencies: {
"@ark/fs": "0.49.0",
"@actions/core": "^1.11.1",
+1
View File
@@ -24,6 +24,7 @@ export function createMcpConfig(githubInstallationToken: string) {
env: {
GITHUB_INSTALLATION_TOKEN: githubInstallationToken,
GITHUB_REPOSITORY: githubRepository,
LOG_LEVEL: "debug",
},
},
},
+2 -5
View File
@@ -31,9 +31,7 @@ server.tool(
const githubInstallationToken = process.env.GITHUB_INSTALLATION_TOKEN;
if (!githubInstallationToken) {
throw new Error(
"GITHUB_INSTALLATION_TOKEN environment variable is required"
);
throw new Error("GITHUB_INSTALLATION_TOKEN environment variable is required");
}
// Resolve repository context from environment
@@ -68,8 +66,7 @@ server.tool(
],
};
} catch (error) {
const errorMessage =
error instanceof Error ? error.message : String(error);
const errorMessage = error instanceof Error ? error.message : String(error);
return {
content: [
{
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@pullfrog/action",
"version": "0.0.28",
"version": "0.0.38",
"type": "module",
"files": [
"index.js",
@@ -26,6 +26,7 @@
"upDeps": "pnpm up --latest",
"createLockfile": "pnpm --ignore-workspace install"
},
"packageManager": "pnpm@10.18.2",
"dependencies": {
"@ark/fs": "0.49.0",
"@actions/core": "^1.11.1",