Skip to content

Add dynamic queues to setup function in ChannelWrapper #38

Add dynamic queues to setup function in ChannelWrapper

Add dynamic queues to setup function in ChannelWrapper #38

Workflow file for this run

name: Publish NPM package
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CLOUDAMQP_API_KEY: ${{ secrets.CLOUDAMQP_API_KEY }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18'
- run: npm install
- run: npm run build
- run: npm test
- uses: JS-DevTools/npm-publish@v1
if: ${{ github.ref == 'refs/heads/main' }}
with:
token: ${{ env.NPM_TOKEN }}