From ddea621c12a7f2e59511818e5804b2a273902ed4 Mon Sep 17 00:00:00 2001 From: Exelo Date: Wed, 3 Jun 2026 19:23:35 +0900 Subject: [PATCH 1/4] fix: add full path to docs publish (#149) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 715a7b3..940541f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,9 +76,9 @@ jobs: token: ${{ secrets.ACTIONS_KEY }} - name: Prepare - uses: ./.github/actions/prepare + uses: ./src/.github/actions/prepare - name: Publish docs - uses: ./node_modules/@nanoforge-dev/actions/actions/synchronize-docs + uses: ./src/node_modules/@nanoforge-dev/actions/actions/synchronize-docs with: category: cli From 41b5f70f57456346bccba8ca58b4b8c195a630b2 Mon Sep 17 00:00:00 2001 From: Exelo Date: Thu, 4 Jun 2026 09:18:00 +0900 Subject: [PATCH 2/4] fix: change pnpm install path in prepare --- .github/actions/prepare/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index 61fe548..9707f2f 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -23,7 +23,7 @@ runs: - if: inputs.pnpm-install == 'true' name: Install dependencies - uses: ./.github/actions/pnpm-install + uses: ./$GITHUB_ACTION_PATH/../pnpm-install - if: inputs.build == 'true' name: Build packages From f149f9d2e818fe7d79c664ca30968c8fccfb70c5 Mon Sep 17 00:00:00 2001 From: Exelo Date: Thu, 4 Jun 2026 09:36:59 +0900 Subject: [PATCH 3/4] fix: remove env variable to pnpm-install action path --- .github/actions/prepare/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index 9707f2f..f074d60 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -23,7 +23,7 @@ runs: - if: inputs.pnpm-install == 'true' name: Install dependencies - uses: ./$GITHUB_ACTION_PATH/../pnpm-install + uses: ./${{ github.action_path }}/../pnpm-install - if: inputs.build == 'true' name: Build packages From dd6219bcf3750f4885c1afb0ef7526a7df8788d2 Mon Sep 17 00:00:00 2001 From: Exelo Date: Thu, 4 Jun 2026 09:40:30 +0900 Subject: [PATCH 4/4] fix: add condition to run in sub dir --- .github/actions/prepare/action.yml | 11 +++++++++-- .github/workflows/release.yml | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index f074d60..4a1c796 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -10,6 +10,9 @@ inputs: build: description: Build packages default: "true" + sub-dir: + description: Is run in src sub directory + default: "false" runs: using: composite steps: @@ -21,9 +24,13 @@ runs: package-manager-cache: false registry-url: https://registry.npmjs.org - - if: inputs.pnpm-install == 'true' + - if: inputs.pnpm-install == 'true' && inputs.sub-dir == 'false' name: Install dependencies - uses: ./${{ github.action_path }}/../pnpm-install + uses: ./.github/actions/pnpm-install + + - if: inputs.pnpm-install == 'true' && inputs.sub-dir == 'true' + name: Install dependencies in src sub directory + uses: ./src/.github/actions/pnpm-install - if: inputs.build == 'true' name: Build packages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 940541f..4313962 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,8 @@ jobs: - name: Prepare uses: ./src/.github/actions/prepare + with: + sub-dir: true - name: Publish docs uses: ./src/node_modules/@nanoforge-dev/actions/actions/synchronize-docs