feat(amqp): added ability to specify different channel than default one #35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| publish-gpr: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[ci-skip]')" | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18 | |
| # registry-url: https://npm.pkg.github.com/ | |
| # scope: "@rxdi" | |
| - run: npx @rxdi/bolt install | |
| - run: npm run lint --if-present | |
| - run: npm test --if-present | |
| - run: git config --global user.email 'kristiqn.tachev@gmail.com' | |
| - run: git config --global user.name "Kristiyan Tachev" | |
| - run: npm version patch | |
| - run: node ./change-version.js | |
| - run: npm config set '//registry.npmjs.org/:_authToken' "${{secrets.NPM_TOKEN}}" | |
| - run: npm run build | |
| - run: npm run patch | |
| - run: npm run publish-packages | |
| env: | |
| NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
| - run: git add . | |
| - run: git commit --amend --no-edit | |
| - uses: ad-m/github-push-action@master | |
| with: | |
| tags: true | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |