diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index aed72ae..7629606 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -48,6 +48,13 @@ jobs: node-version: 10 - run: npm install + - name: Create GitHub Release + uses: sendgrid/dx-automator/actions/release@main + with: + footer: '**[npm](https://www.npmjs.com/package/smtpapi/v/${version})**' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Publish to NPM run: | npm config set //registry.npmjs.org/:_authToken ${NODE_AUTH_TOKEN}