Skip to content

Commit f486381

Browse files
committed
chore: upgrade ci tools
1 parent e49f313 commit f486381

File tree

5 files changed

+8738
-9778
lines changed

5 files changed

+8738
-9778
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2
1+
version: 2.1
22
jobs:
33
build:
44
machine: true
@@ -28,26 +28,26 @@ jobs:
2828
- /opt/circleci/.nvm
2929
key: v1-nvm-{{ checksum ".nvmrc" }}
3030
- run:
31-
name: install yarn
32-
command: npm install -g yarn
31+
name: install pnpm
32+
command: npm install -g pnpm
3333
- restore_cache:
3434
keys:
35-
- v1-dependencies-{{ checksum "package.json" }}
35+
- v1-dependencies-{{ checksum "pnpm-lock.yaml" }}
3636
# fallback to using the latest cache if no exact match is found
3737
- v1-dependencies-
3838
- run:
3939
name: install
40-
command: NODE_ENV=development yarn
40+
command: NODE_ENV=development pnpm install
4141
- save_cache:
4242
paths:
4343
- node_modules
44-
key: v1-dependencies-{{ checksum "package.json" }}
44+
key: v1-dependencies-{{ checksum "pnpm-lock.yaml" }}
4545
# clean
4646
- run: docker network prune --force
4747
- run: npx commitlint-circle
48-
- run: yarn lint
49-
- run: yarn build
50-
- run: yarn test
48+
- run: pnpm run lint
49+
- run: pnpm run build
50+
- run: pnpm run test
5151
- run:
5252
name: release
5353
command: npm run semantic-release || true

.husky/commit-msg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn commitlint --edit $1
4+
pnpm exec commitlint --edit $1

0 commit comments

Comments
 (0)