diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31cee0d..92b326c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ on: jobs: build-and-publish: - if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest permissions: @@ -31,6 +31,9 @@ jobs: - name: Build Node run: npm run build + - name: Release n8n Node + run: npm run release + - name: Publish to npm run: npm publish --provenance --access public env: