File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -22,27 +22,25 @@ jobs:
2222 cache : ' npm'
2323 cache-dependency-path : ' ./table-component/package-lock.json'
2424
25- - name : Install and Build
26- run : |
27- npm install
28- npm run build
25+ # - name: Install Vue CLI globally
26+ # run: npm install -g @vue/cli-plugin-babel/preset
27+ # working-directory: ./table-component
28+
29+ - name : Install dependencies and build
2930 working-directory : ./table-component
30- env :
31- NODE_ENV : production
32-
33- - name : Copy build files
3431 run : |
35- mkdir -p ../css ../js
36- cp ./table-component/dist/css/app*.css ../css/app.css
37- cp ./table-component/dist/css/chunk-vendors*.css ../css/chunk-vendors.css
38- cp ./table-component/dist/js/app*.js ../js/app.js
39- cp ./table-component/dist/js/chunk-vendors*.js ../js/chunk-vendors.js
32+ npm ci
33+ npm run build
4034
41- - name : Prepare documentation
35+ - name : Prepare for deployment
4236 run : |
43- mkdir gh-pages
37+ mkdir -p gh-pages/css gh-pages/js
38+ cp index.html gh-pages/
39+ cp table-component/dist/css/app*.css gh-pages/css/app.css
40+ cp table-component/dist/css/chunk-vendors*.css gh-pages/css/chunk-vendors.css
41+ cp table-component/dist/js/app*.js gh-pages/js/app.js
42+ cp table-component/dist/js/chunk-vendors*.js gh-pages/js/chunk-vendors.js
4443 touch gh-pages/.nojekyll
45- mv site/* ./gh-pages/
4644
4745 - name : Deploy documentation.
4846 if : ${{ github.event_name == 'push' }}
You can’t perform that action at this time.
0 commit comments