Skip to content

Commit 3074ee5

Browse files
authored
CircleCI Commit (#35)
1 parent ee0649c commit 3074ee5

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.circleci/config.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This config was automatically generated from your source code
2+
# Stacks detected: cicd:github-actions:.github/workflows,deps:node:.,test:jest:
3+
version: 2.1
4+
orbs:
5+
node: circleci/node@5
6+
jobs:
7+
test-node:
8+
# Install node dependencies and run tests
9+
executor: node/default
10+
environment:
11+
JEST_JUNIT_OUTPUT_DIR: ./test-results/
12+
steps:
13+
- checkout
14+
- node/install-packages:
15+
pkg-manager: npm
16+
- run:
17+
command: npm install jest-junit
18+
- run:
19+
name: Run tests
20+
command: npm run test --ci --runInBand --reporters=default --reporters=jest-junit
21+
- store_test_results:
22+
path: ./test-results/
23+
deploy:
24+
# This is an example deploy job, not actually used by the workflow
25+
docker:
26+
- image: cimg/base:stable
27+
steps:
28+
# Replace this with steps to deploy to users
29+
- run:
30+
name: deploy
31+
command: '#e.g. ./deploy.sh'
32+
- run:
33+
name: found github actions config
34+
command: ':'
35+
workflows:
36+
build-and-test:
37+
jobs:
38+
- test-node
39+
# - deploy:
40+
# requires:
41+
# - test-node

0 commit comments

Comments
 (0)