chore: fix there is no signal of mqtt protocol 23 #160
This file contains 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: commitlint | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
- run: yarn install --registry=https://registry.npmjs.org | |
- name: Add dependencies for commitlint action | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
# $GITHUB_WORKSPACE is the path to your repository | |
run: echo "::set-env name=NODE_PATH::$GITHUB_WORKSPACE/node_modules" | |
# Now the commitlint action will run considering its own dependencies and yours as well 🚀 | |
- uses: wagoid/commitlint-github-action@v2 |