Skip to content

An example repo on how to test and sync Inngest webhook transforms from your codebase.

Notifications You must be signed in to change notification settings

inngest/webhook-transform-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhook transform sync

This is a basic demo showing how to use the Inngest REST API's webhook endpoints for updating webhooks.

Updating webhooks

Create a .env file with your INNGEST_SIGNING_KEY:

INNGEST_SIGNING_KEY=signkey-prod-fj484ertyuiop...

Run the script to sync all transforms in the webhooks directory:

node --env-file .env ./updateWebhooks.mjs

Testing transforms

Transform tests can be written in any *.test.mjs file in the webhooks directory. Tests can be run using Node's native test runner, or you can use whatever you prefer.

node --test

Requirements

Node 20.x or greater.

About

An example repo on how to test and sync Inngest webhook transforms from your codebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published