Skip to content

Commit 81b4089

Browse files
committed
fix: commitlint
1 parent e007a3c commit 81b4089

File tree

3 files changed

+42
-4
lines changed

3 files changed

+42
-4
lines changed

.circleci/config.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
version: 2.1
2+
3+
jobs:
4+
build: # this can be any name you choose
5+
docker:
6+
- image: node:20-bullseye # Update to the latest stable Node.js version
7+
resource_class: large
8+
parallelism: 10
9+
10+
steps:
11+
- checkout
12+
- restore_cache:
13+
name: Restore pnpm Package Cache
14+
keys:
15+
- pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
16+
- run:
17+
name: Install pnpm package manager
18+
command: |
19+
corepack enable
20+
corepack prepare pnpm@latest --activate # Ensure latest pnpm version
21+
- run:
22+
name: Install Dependencies
23+
command: |
24+
pnpm install
25+
- save_cache:
26+
name: Save pnpm Package Cache
27+
key: pnpm-packages-{{ checksum "pnpm-lock.yaml" }}
28+
paths:
29+
- node_modules
30+
- run:
31+
name: Build
32+
command: |
33+
pnpm build
34+
35+
workflows:
36+
build_test:
37+
jobs:
38+
- build

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
pnpm lint-staged --no-stash
2-
3-
changeset
4-

commitlint.config.mjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
export default {extends: ['@commitlint/config-conventional']}
1+
export default {
2+
extends: ['@commitlint/config-conventional'],
3+
ignores: [(commitMessage) => commitMessage.startsWith('Version Packages')],
4+
};

0 commit comments

Comments
 (0)