diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 449be0a..faf8c28 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,5 +13,6 @@ jobs: with: node-version: '16' - run: npm install -g @commitlint/cli @commitlint/config-conventional - - run: echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js - - run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose + - run: | + echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js + - run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose \ No newline at end of file