- Update version in package manifest
- Update version in changelog
- Commit
- Check you are part of the @pusher npm org
- Check you are logged in to npm
npm whoami
- If not, login via
npm login
git tag <VERSION e.g. 1.2.3>
git push
git push --tags
npm run publish-please
- Upload
./dist/push-notifications-cdn
to the appropriate S3 buckets:
- Major/minor version:
/pusher-js-cloudfront/beams/<MAJOR>.<MINOR>
/pusher-js-cloudfront/beams/<MAJOR>.<MINOR>.0
- Patch version:
/pusher-js-cloudfront/beams/<MAJOR>.<MINOR>
/pusher-js-cloudfront/beams/<MAJOR>.<MINOR>.<PATCH>
- If any changes have been made to the service worker:
npm run build:sw
- Upload
./dist/service-worker.js
to S3:/pusher-js-cloudfront/beams/service-worker.js