File tree 1 file changed +45
-0
lines changed
1 file changed +45
-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:.
3
+ version : 2.1
4
+ orbs :
5
+ node : circleci/node@5
6
+ jobs :
7
+ build-node :
8
+ # Build node project
9
+ executor : node/default
10
+ steps :
11
+ - checkout
12
+ - node/install-packages :
13
+ cache-path : ~/project/node_modules
14
+ override-ci-command : npm install
15
+ - run :
16
+ command : npm run build
17
+ - run :
18
+ name : Create the ~/artifacts directory if it doesn't exist
19
+ command : mkdir -p ~/artifacts
20
+ # Copy output to artifacts dir
21
+ - run :
22
+ name : Copy artifacts
23
+ command : cp -R build dist public .output .next .docusaurus ~/artifacts 2>/dev/null || true
24
+ - store_artifacts :
25
+ path : ~/artifacts
26
+ destination : node-build
27
+ deploy :
28
+ # This is an example deploy job, not actually used by the workflow
29
+ docker :
30
+ - image : cimg/base:stable
31
+ steps :
32
+ # Replace this with steps to deploy to users
33
+ - run :
34
+ name : deploy
35
+ command : ' #e.g. ./deploy.sh'
36
+ - run :
37
+ name : found github actions config
38
+ command : ' :'
39
+ workflows :
40
+ build :
41
+ jobs :
42
+ - build-node
43
+ # - deploy:
44
+ # requires:
45
+ # - build-node
You can’t perform that action at this time.
0 commit comments