refactor: separates display and touch modules #42
Workflow file for this run
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: Pull Request Validation | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
commit-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: 8 | |
- name: Setup Node | |
uses: actions/setup-node@v4.0.1 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install Commitlint | |
run: pnpm add @commitlint/cli @commitlint/config-conventional --save-dev | |
- name: Lint Commit Messages | |
run: | | |
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js | |
npx commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.event.pull_request.head.sha }} |