Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ name: build

on:
push:
branches-ignore:
- 'tmp**'
branches:
- master
pull_request:
branches-ignore:
- 'tmp**'

permissions:
contents: read

jobs:
build:
name: Build package
Expand All @@ -23,7 +26,7 @@ jobs:
node-version: 24

- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile

- name: Build package
run: yarn build
Expand All @@ -41,7 +44,7 @@ jobs:
node-version: 24

- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile

- name: Run tests
run: yarn test
34 changes: 34 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: pr-title

on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

permissions:
pull-requests: read

jobs:
semantic-title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- name: Check PR title follows Conventional Commits
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
perf
refactor
docs
test
build
ci
chore
revert
requireScope: false
subjectPattern: ^(?![A-Z]).+$
subjectPatternError: |
The subject "{subject}" of PR title "{title}" must start with a lower-case letter.
Loading