Publish an n8n Community Node to npm with Provenance (Part 7)

Publish an n8n community node to npm from GitHub Actions with a provenance statement, which n8n requires for nodes submitted for verification. Part 7 of 10.

Launch your n8n integration - NativeShip

In this episode:

  • Linting the node with n8n’s own checker
  • The three things n8n looks for in package.json
  • The rule for verified nodes: published by GitHub Actions, with provenance
  • What npm provenance is, and why the repository must be public
  • Trusted publishing instead of an npm token
  • Installing the published node in a clean n8n

Chapters
0:00 One laptop, one user
0:36 Linting the node
1:14 Three things in package.json
1:45 The publishing rule for verified nodes
2:07 What npm provenance is
2:47 Why the repo must be public
3:15 GitHub Actions and trusted publishing
4:03 Publishing a release
4:21 Installing it in a clean n8n
4:37 What’s next

The whole series: https://www.youtube.com/playlist?list=PLYkThRYZ5f5g

1 Like