diff --git a/.github/workflows/n8n.yml b/.github/workflows/n8n.yml index 54125e82..89c182f4 100644 --- a/.github/workflows/n8n.yml +++ b/.github/workflows/n8n.yml @@ -171,11 +171,6 @@ jobs: bun run tsc find nodes icons credentials \( -name '*.png' -o -name '*.svg' \) | while read f; do mkdir -p "dist/$(dirname "$f")" && cp "$f" "dist/$f"; done - - name: Scan community package - if: steps.changes.outputs.changed == 'true' - working-directory: integrations/n8n - run: bun x @n8n/scan-community-package . - - name: Publish to npm if: steps.changes.outputs.changed == 'true' working-directory: integrations/n8n @@ -192,6 +187,10 @@ jobs: fi } + - name: Scan community package + if: steps.changes.outputs.changed == 'true' + run: npx @n8n/scan-community-package n8n-nodes-pachca@${{ steps.version.outputs.version }} + - name: Create GitHub Release if: steps.changes.outputs.changed == 'true' working-directory: integrations/n8n diff --git a/integrations/n8n/package.json b/integrations/n8n/package.json index 610e3768..c115d1f9 100644 --- a/integrations/n8n/package.json +++ b/integrations/n8n/package.json @@ -31,7 +31,9 @@ "directory": "integrations/n8n" }, "files": [ - "dist/", + "dist/nodes/", + "dist/credentials/", + "dist/icons/", "index.js", "icons/", "docs/",