Skip to content

Commit d671cfb

Browse files
committed
chore(circleci): update config for pnpm
1 parent 5089f78 commit d671cfb

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.circleci/config.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ jobs:
99
- run:
1010
name: Setup NPM Token
1111
command: |
12-
yarn config set registry "https://registry.npmjs.org/"
13-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
14-
echo "registry=https://registry.npmjs.org/" >> .npmrc
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: npm install --global pnpm
1517
- run:
1618
name: Install Dependencies
17-
command: yarn install --frozen-lockfile
19+
command: pnpm install --frozen-lockfile
1820
- run:
1921
name: build
20-
command: yarn run prepublishOnly
22+
command: pnpm prepublishOnly
2123
- run:
2224
name: upload test coverage
23-
command: yarn codecov
25+
command: pnpm codecov
2426
- run:
2527
name: release
26-
command: yarn run semantic-release
28+
command: pnpm semantic-release

0 commit comments

Comments
 (0)