File tree Expand file tree Collapse file tree 1 file changed +16
-36
lines changed Expand file tree Collapse file tree 1 file changed +16
-36
lines changed Original file line number Diff line number Diff line change 55 - gh-pages
66 workflow_dispatch :
77 pull_request :
8+
89jobs :
910 build :
1011 name : Build and Deploy
1112 runs-on : ubuntu-latest
1213 steps :
13- - uses : actions/setup-node@v2-beta
14+ - uses : actions/setup-node@v3
1415 with :
15- node-version : ' 12 '
16+ node-version : 16
1617 - name : Checkout Repository
17- uses : actions/checkout@v2
18- with :
19- fetch-depth : ' 0'
20- persist-credentials : false
21- submodules : ' recursive'
18+ uses : actions/checkout@v3
19+ # with:
20+ # persist-credentials: false
2221 - name : Install
23- run : npm install
22+ run : npm ci
2423 - name : Build
2524 run : npm run build
2625 - name : Deploy
27- uses : JamesIves/github-pages-deploy-action@3.7.1
26+ uses : JamesIves/github-pages-deploy-action@v4.4.0
2827 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
2928 with :
30- ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
31- BRANCH : gh-pages
32- FOLDER : .vuepress/dist/
33- CLEAN : true
29+ token : ${{ secrets.ACCESS_TOKEN }}
30+ folder : .vuepress/dist/
31+ clean : true
32+
3433 lint :
3534 name : Lint
3635 runs-on : ubuntu-latest
3736 steps :
38- - uses : actions/setup-node@v2-beta
37+ - uses : actions/setup-node@v3
3938 with :
40- node-version : ' 12 '
39+ node-version : 16
4140 - name : Checkout Repository
42- uses : actions/checkout@v2
43- with :
44- fetch-depth : ' 0'
45- submodules : ' recursive'
41+ uses : actions/checkout@v3
4642 - name : Install
47- run : npm install
43+ run : npm ci
4844 - name : Lint
4945 run : npm run lint-ci
50- spellcheck :
51- name : Spellcheck
52- runs-on : ubuntu-latest
53- steps :
54- - uses : actions/setup-node@v2-beta
55- with :
56- node-version : ' 12'
57- - name : Checkout Repository
58- uses : actions/checkout@v2
59- with :
60- fetch-depth : ' 0'
61- submodules : ' recursive'
62- - name : Install
63- run : npm install
64- - name : Spellcheck
65- run : npm run spellcheck
You can’t perform that action at this time.
0 commit comments