Skip to content

Merge pull request #102 from amplience/feat/update-message-event-channel #21

Merge pull request #102 from amplience/feat/update-message-event-channel

Merge pull request #102 from amplience/feat/update-message-event-channel #21

Workflow file for this run

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: dc-extensions-sdk
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'
- run: |
npm ci
npm test
npm run build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
- name: Deploy docs 🚀
uses: JamesIves/github-pages-deploy-action@93065a8b71cd5d57c379528f7a43a2e38d908af0
if: ${{ steps.release.outputs.release_created }}
with:
branch: gh-pages
folder: docs