See docs here.
- Ensure you have Akamai CLI installed
- On Windows you may need to add
akamai.exe
location toPath
environment variable
- On Windows you may need to add
- Ensure you have Akamai API credentials file
- Install edgeworkers command with
akamai install edgeworkers
- Ensure you have EdgeWorker created
- Copy
.env.example
to.env
- Configure environment variables:
AKAMAI_WORKER_ID
AKAMAI_WORKER_NETWORK
AKAMAI_WORKER_VERSION_INCREMENT
(optional)
\src\bundle.json
contains bundle metadata
use worker:version:prepare
command to increment version and prepare dist
use worker:version:deploy
command to upload and activate bundle
Akamai EdgeWorkers documentation