Skip to content

Commit 18f6387

Browse files
committed
add CI
1 parent c9a0671 commit 18f6387

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2.1
2+
3+
orbs:
4+
node: circleci/node@4.7.0
5+
6+
defaults: &defaults
7+
working_directory: ~/repo
8+
docker:
9+
- image: cimg/node:20.17.0
10+
11+
jobs:
12+
lint and build:
13+
<<: *defaults
14+
steps:
15+
- checkout
16+
- node/install-packages:
17+
pkg-manager: yarn
18+
- run: yarn build
19+
- run: yarn lint
20+
- persist_to_workspace:
21+
root: ~/repo
22+
paths: [.]
23+
workflows:
24+
version: 2
25+
build:
26+
jobs:
27+
- lint and build

0 commit comments

Comments
 (0)