Skip to content

Commit c0af5d0

Browse files
authored
ci: use electronjs/node orb (#277)
1 parent 3a7af43 commit c0af5d0

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

.circleci/config.yml

+12-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
1-
version: 2
2-
jobs:
3-
test:
4-
docker:
5-
- image: cimg/node:16.13.2
6-
steps:
7-
- checkout
8-
- restore_cache:
9-
keys:
10-
- v1-dependencies-{{ checksum "yarn.lock" }}
11-
- v1-dependencies-
12-
- run: yarn install
13-
- save_cache:
14-
paths:
15-
- node_modules
16-
key: v1-dependencies-{{ checksum "yarn.lock" }}
17-
- run: yarn lint
18-
- run: yarn test
1+
version: 2.1
2+
3+
orbs:
4+
node: electronjs/[email protected]
5+
196
workflows:
20-
version: 2
217
build:
228
jobs:
23-
- test
9+
- node/test:
10+
executor: node/linux
11+
node-version: "20.12"
12+
use-test-steps: true
13+
test-steps:
14+
- run: yarn lint
15+
- run: yarn test

0 commit comments

Comments
 (0)