Skip to content

Commit 97c5716

Browse files
committed
chore: format, switch to pnpm, upgrade semantic-release
1 parent 5d819bb commit 97c5716

File tree

7 files changed

+10173
-9208
lines changed

7 files changed

+10173
-9208
lines changed

.circleci/config.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,34 @@ version: 2.1
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:8
5+
- image: circleci/node:16
66

77
steps:
88
- checkout
9-
- restore_cache:
10-
name: Restore Yarn Package Cache
11-
keys:
12-
- v1-yarn-packages-{{ checksum "yarn.lock" }}
13-
149
- run:
1510
name: Setup NPM Token
1611
command: |
17-
yarn config set registry "https://registry.npmjs.org/"
18-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
19-
echo "registry=https://registry.npmjs.org/" >> .npmrc
20-
12+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
13+
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
14+
- run:
15+
name: Install pnpm
16+
command: sudo npm install --global pnpm
2117
- run:
2218
name: Install Dependencies
23-
command: yarn install --frozen-lockfile
24-
- save_cache:
25-
name: Save Yarn Package Cache
26-
key: v1-yarn-packages-{{ checksum "yarn.lock" }}
27-
paths:
28-
- ~/.cache/yarn
29-
19+
command: pnpm install --frozen-lockfile
3020
- run:
3121
name: build
32-
command: yarn run prepublishOnly
22+
command: pnpm prepublishOnly
3323
- run:
3424
name: upload test coverage
35-
command: yarn codecov || true
25+
command: pnpm codecov
3626
- run:
3727
name: release
38-
command: yarn run semantic-release || true
28+
command: pnpm semantic-release
3929
workflows:
4030
build-and-deploy:
4131
jobs:
4232
- build:
4333
context:
4434
- github-release
45-
- npm-release
35+
- npm-release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"react": "^16.6.3",
131131
"react-dom": "^16.6.3",
132132
"rimraf": "^2.6.0",
133-
"semantic-release": "^15.13.3",
133+
"semantic-release": "^20.1.1",
134134
"sinon": "^6.1.5"
135135
},
136136
"dependencies": {

0 commit comments

Comments
 (0)