Skip to content

Commit 099ff11

Browse files
authored
Merge pull request #188 from ShMcK/circleci-project-setup
Add .circleci/config.yml
2 parents c35d736 + 3328b8e commit 099ff11

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.circleci/config.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: 2.1
2+
orbs:
3+
node: circleci/[email protected]
4+
jobs:
5+
extension:
6+
description: 'Unit tests for Node app'
7+
executor:
8+
name: node/default
9+
steps:
10+
- checkout
11+
- node/with-cache:
12+
steps:
13+
- run: npm install
14+
- run: npm test
15+
# web:
16+
# description: 'Frontend tests for Web app'
17+
# executor:
18+
# name: node/default
19+
# environment:
20+
# SKIP_PREFLIGHT_CHECK: true
21+
# REACT_APP_TUTORIAL_LIST_URL: https://raw.githubusercontent.com/coderoad/tutorials/master/tutorials.json
22+
# working_directory: ~/web-app
23+
# steps:
24+
# - checkout
25+
# - node/with-cache:
26+
# steps:
27+
# - run: cd web-app && npm install
28+
# - run: cd web-app && npm test
29+
30+
workflows:
31+
build-and-test:
32+
jobs:
33+
- extension
34+
# - web
35+
# - e2e
36+
# - package

0 commit comments

Comments
 (0)