File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ # This config was automatically generated from your source code
2+ # Stacks detected: cicd:github-actions:.github/workflows,deps:node:.,package_manager:yarn:
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+ steps :
11+ - checkout
12+ - node/install-packages :
13+ pkg-manager : yarn
14+ - run :
15+ name : Run tests
16+ command : yarn test --passWithNoTests
17+ build-node :
18+ # Build node project
19+ executor : node/default
20+ steps :
21+ - checkout
22+ - node/install-packages :
23+ pkg-manager : yarn
24+ - run :
25+ command : yarn run build
26+ - run :
27+ name : Create the ~/artifacts directory if it doesn't exist
28+ command : mkdir -p ~/artifacts
29+ # Copy output to artifacts dir
30+ - run :
31+ name : Copy artifacts
32+ command : cp -R build dist public .output .next .docusaurus ~/artifacts 2>/dev/null || true
33+ - store_artifacts :
34+ path : ~/artifacts
35+ destination : node-build
36+ deploy :
37+ # This is an example deploy job, not actually used by the workflow
38+ docker :
39+ - image : cimg/base:stable
40+ steps :
41+ # Replace this with steps to deploy to users
42+ - run :
43+ name : deploy
44+ command : ' #e.g. ./deploy.sh'
45+ - run :
46+ name : found github actions config
47+ command : ' :'
48+ workflows :
49+ build-and-test :
50+ jobs :
51+ - test-node
52+ - build-node :
53+ requires :
54+ - test-node
55+ # - deploy:
56+ # requires:
57+ # - build-node
You can’t perform that action at this time.
0 commit comments