|
2 | 2 | #
|
3 | 3 | version: 2
|
4 | 4 | jobs:
|
5 |
| - build: |
6 |
| - docker: |
7 |
| - - image: circleci/node:16 |
| 5 | + # build: |
| 6 | + # docker: |
| 7 | + # - image: circleci/node:16 |
8 | 8 |
|
9 |
| - working_directory: /tmp/ui |
| 9 | + # working_directory: /tmp/ui |
10 | 10 |
|
11 |
| - steps: |
12 |
| - - checkout |
13 |
| - - restore_cache: |
14 |
| - keys: |
15 |
| - - dependencies-{{ checksum "package-lock.json" }} |
16 |
| - - run: |
17 |
| - name: Install node dependencies |
18 |
| - command: npm install |
19 |
| - - save_cache: |
20 |
| - paths: |
21 |
| - - node_modules |
22 |
| - key: dependencies-{{ checksum "package-lock.json" }} |
23 |
| - - run: |
24 |
| - name: Prettier check |
25 |
| - command: npm run check:prettier |
26 |
| - - run: |
27 |
| - name: Check linting |
28 |
| - command: npm run check:code |
29 |
| - - run: |
30 |
| - name: Build library |
31 |
| - command: npm run build |
32 |
| - - save_cache: |
33 |
| - paths: |
34 |
| - - lib |
35 |
| - key: lib-{{ .Branch }}-{{ .Revision }} |
36 |
| - - save_cache: |
37 |
| - paths: |
38 |
| - - dist |
39 |
| - key: dist-{{ .Branch }}-{{ .Revision }} |
| 11 | + # steps: |
| 12 | + # - checkout |
| 13 | + # - restore_cache: |
| 14 | + # keys: |
| 15 | + # - dependencies-{{ checksum "package-lock.json" }} |
| 16 | + # - run: |
| 17 | + # name: Install node dependencies |
| 18 | + # command: npm install |
| 19 | + # - save_cache: |
| 20 | + # paths: |
| 21 | + # - node_modules |
| 22 | + # key: dependencies-{{ checksum "package-lock.json" }} |
| 23 | + # - run: |
| 24 | + # name: Prettier check |
| 25 | + # command: npm run check:prettier |
| 26 | + # - run: |
| 27 | + # name: Check linting |
| 28 | + # command: npm run check:code |
| 29 | + # - run: |
| 30 | + # name: Build library |
| 31 | + # command: npm run build |
| 32 | + # - save_cache: |
| 33 | + # paths: |
| 34 | + # - lib |
| 35 | + # key: lib-{{ .Branch }}-{{ .Revision }} |
| 36 | + # - save_cache: |
| 37 | + # paths: |
| 38 | + # - dist |
| 39 | + # key: dist-{{ .Branch }}-{{ .Revision }} |
40 | 40 |
|
41 |
| - deploy: |
42 |
| - docker: |
43 |
| - - image: circleci/node:16 |
| 41 | + # deploy: |
| 42 | + # docker: |
| 43 | + # - image: circleci/node:16 |
44 | 44 |
|
45 |
| - working_directory: /tmp/ui |
| 45 | + # working_directory: /tmp/ui |
46 | 46 |
|
47 |
| - steps: |
48 |
| - - checkout |
49 |
| - - restore_cache: |
50 |
| - keys: |
51 |
| - - dependencies-{{ checksum "package-lock.json" }} |
52 |
| - - run: |
53 |
| - name: Install node dependencies |
54 |
| - command: npm install |
55 |
| - - restore_cache: |
56 |
| - keys: |
57 |
| - - lib-{{ .Branch }}-{{ .Revision }} |
58 |
| - - restore_cache: |
59 |
| - keys: |
60 |
| - - dist-{{ .Branch }}-{{ .Revision }} |
61 |
| - - run: |
62 |
| - name: Build storybook |
63 |
| - command: npm run build:storybook |
64 |
| - - run: |
65 |
| - name: Copy styles from lib |
66 |
| - command: cp ./lib/*.css ./storybook-static |
67 |
| - - add_ssh_keys: |
68 |
| - fingerprints: |
69 |
| - - '7d:bf:98:9c:fa:d8:d5:9c:38:5c:4d:59:fe:8e:01:72' |
70 |
| - - run: |
71 |
| - name: Deploy to Github Pages |
72 |
| - command: | |
73 |
| - npm init --yes |
74 |
| - npm install gh-pages --no-save |
| 47 | + # steps: |
| 48 | + # - checkout |
| 49 | + # - restore_cache: |
| 50 | + # keys: |
| 51 | + # - dependencies-{{ checksum "package-lock.json" }} |
| 52 | + # - run: |
| 53 | + # name: Install node dependencies |
| 54 | + # command: npm install |
| 55 | + # - restore_cache: |
| 56 | + # keys: |
| 57 | + # - lib-{{ .Branch }}-{{ .Revision }} |
| 58 | + # - restore_cache: |
| 59 | + # keys: |
| 60 | + # - dist-{{ .Branch }}-{{ .Revision }} |
| 61 | + # - run: |
| 62 | + # name: Build storybook |
| 63 | + # command: npm run build:storybook |
| 64 | + # - run: |
| 65 | + # name: Copy styles from lib |
| 66 | + # command: cp ./lib/*.css ./storybook-static |
| 67 | + # - add_ssh_keys: |
| 68 | + # fingerprints: |
| 69 | + # - '7d:bf:98:9c:fa:d8:d5:9c:38:5c:4d:59:fe:8e:01:72' |
| 70 | + # - run: |
| 71 | + # name: Deploy to Github Pages |
| 72 | + # command: | |
| 73 | + # npm init --yes |
| 74 | + # npm install gh-pages --no-save |
75 | 75 |
|
76 |
| - mkdir storybook-static/.circleci |
77 |
| - touch storybook-static/.circleci/config.yml |
78 |
| - # echo 'ui.dcl.org' > storybook-static/CNAME |
| 76 | + # mkdir storybook-static/.circleci |
| 77 | + # touch storybook-static/.circleci/config.yml |
| 78 | + # # echo 'ui.dcl.org' > storybook-static/CNAME |
79 | 79 |
|
80 |
| - git config user.name "FullstackWEB-developer" |
81 |
| - git config user.email "[email protected]" |
82 |
| - ./node_modules/.bin/gh-pages --dist storybook-static |
| 80 | + # git config user.name "FullstackWEB-developer" |
| 81 | + # git config user.email "[email protected]" |
| 82 | + # ./node_modules/.bin/gh-pages --dist storybook-static |
83 | 83 |
|
84 | 84 | release:
|
85 | 85 | docker:
|
@@ -109,19 +109,19 @@ workflows:
|
109 | 109 | version: 2
|
110 | 110 | build-deploy-release:
|
111 | 111 | jobs:
|
112 |
| - - build: |
113 |
| - filters: |
114 |
| - branches: |
115 |
| - ignore: gh-pages |
116 |
| - - deploy: |
117 |
| - requires: |
118 |
| - - build |
119 |
| - filters: |
120 |
| - branches: |
121 |
| - only: master |
| 112 | + # - build: |
| 113 | + # filters: |
| 114 | + # branches: |
| 115 | + # ignore: gh-pages |
| 116 | + # - deploy: |
| 117 | + # requires: |
| 118 | + # - build |
| 119 | + # filters: |
| 120 | + # branches: |
| 121 | + # only: master |
122 | 122 | - release:
|
123 |
| - requires: |
124 |
| - - build |
| 123 | + # requires: |
| 124 | + # - build |
125 | 125 | filters:
|
126 | 126 | branches:
|
127 | 127 | only: master
|
0 commit comments