Skip to content

ci: add a script and CI job to validate spec examples (#1046) #289

ci: add a script and CI job to validate spec examples (#1046)

ci: add a script and CI job to validate spec examples (#1046) #289

Workflow file for this run

name: Release the spec
on:
push:
branches:
- master
- next-spec
- next-major-spec
jobs:
release:
name: 'Create GitHub release'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Add plugin for conventional commits
run: npm install --save-dev [email protected]
- name: Release to GitHub
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_NAME: asyncapi-bot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: asyncapi-bot
GIT_COMMITTER_EMAIL: [email protected]
run: npx [email protected]