Skip to content

Commit 60e4174

Browse files
authored
chore: update circle node version (#40)
* chore: new circleci config format * chore: switch to pnpm since npm gets stuck * style: linting issues fixed * fix: use newer jest version so fake timers work properly * build: use newer typescript
1 parent d0bc9c6 commit 60e4174

File tree

7 files changed

+8265
-14937
lines changed

7 files changed

+8265
-14937
lines changed

.circleci/config.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: 2.1
2+
3+
orbs:
4+
node: circleci/node@5.0.2
5+
6+
jobs:
7+
build:
8+
executor: node/default
9+
steps:
10+
- checkout
11+
12+
- run:
13+
name: Configure npm global install dir
14+
command: |
15+
mkdir -p ~/.npm-global
16+
npm config set prefix ~/.npm-global
17+
echo 'export PATH=$HOME/.npm-global/bin:$PATH' >> $BASH_ENV
18+
19+
- run:
20+
name: Install pnpm
21+
command: npm install -g pnpm
22+
23+
- restore_cache:
24+
keys:
25+
- pnpm-store-{{ checksum "pnpm-lock.yaml" }}
26+
- run: pnpm install --frozen-lockfile
27+
- save_cache:
28+
key: pnpm-store-{{ checksum "pnpm-lock.yaml" }}
29+
paths:
30+
- ~/.local/share/pnpm-store
31+
32+
- run: pnpm run build
33+
- run: pnpm test
34+
- run: pnpm run semantic-release || true
35+
36+
workflows:
37+
pipeline:
38+
jobs:
39+
- build

circle.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)