diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4a4b0e4..7ffdb2b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,7 +34,7 @@ jobs: registry-url: "https://registry.npmjs.org" - name: Install dependencies - run: pnpm install --no-frozen-lockfile + run: pnpm install --frozen-lockfile - name: Get package version id: version diff --git a/.husky/pre-commit b/.husky/pre-commit index f77f5f3..91dc70c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,10 @@ +# Ensure lockfile is up to date +echo "🔒 Updating lockfile..." +pnpm install --lockfile-only + # Build the action before committing echo "🔨 Building action..." npm run build -# Add the built files to the commit -git add entry.cjs +# Add the built files and lockfile to the commit +git add entry.cjs pnpm-lock.yaml diff --git a/entry.cjs b/entry.cjs index 386308c..cb364b5 100755 --- a/entry.cjs +++ b/entry.cjs @@ -26163,7 +26163,7 @@ async function main(params) { // package.json var package_default = { name: "@pullfrog/action", - version: "0.0.27", + version: "0.0.28", type: "module", files: [ "index.js", diff --git a/package.json b/package.json index f1fa874..3bba7e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pullfrog/action", - "version": "0.0.27", + "version": "0.0.28", "type": "module", "files": [ "index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc8a3e1..b761a59 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@actions/core': specifier: ^1.11.1 version: 1.11.1 + '@ark/fs': + specifier: 0.49.0 + version: 0.49.0 '@modelcontextprotocol/sdk': specifier: ^1.17.5 version: 1.19.1 @@ -32,6 +35,9 @@ importers: table: specifier: ^6.9.0 version: 6.9.0 + zod: + specifier: ^3.24.4 + version: 3.25.76 devDependencies: '@types/node': specifier: ^20.10.0 @@ -48,9 +54,6 @@ importers: typescript: specifier: ^5.3.0 version: 5.9.3 - zod: - specifier: ^3.24.4 - version: 3.25.76 zshy: specifier: ^0.4.1 version: 0.4.3(typescript@5.9.3) @@ -69,6 +72,9 @@ packages: '@actions/io@1.1.3': resolution: {integrity: sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==} + '@ark/fs@0.49.0': + resolution: {integrity: sha512-AEjAQS/bu1CGIRiKK/XLaQ73cSJHixfexq28wNt+kBpQ0h1RwVIVzaGsn/+5IWw6DEbR7LB+3hil5gzrzEeyZQ==} + '@ark/schema@0.49.0': resolution: {integrity: sha512-GphZBLpW72iS0v4YkeUtV3YIno35Gimd7+ezbPO9GwEi9kzdUrPVjvf6aXSBAfHikaFc/9pqZOpv3pOXnC71tw==} @@ -902,6 +908,8 @@ snapshots: '@actions/io@1.1.3': {} + '@ark/fs@0.49.0': {} + '@ark/schema@0.49.0': dependencies: '@ark/util': 0.49.0