Skip to content

fix(src): merge upstream master and fix onClose double-call bug #6

fix(src): merge upstream master and fix onClose double-call bug

fix(src): merge upstream master and fix onClose double-call bug #6

Workflow file for this run

name: commitlint
on: [push, pull_request]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
cache: yarn
node-version-file: .nvmrc
- name: Install dependencies
run: yarn
- name: Lint commit message
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
yarn commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.event.pull_request.head.sha }}
else
yarn commitlint --from=HEAD~1
fi