File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 uses : actions/setup-node@v1
1818 with :
1919 node-version : ${{ matrix.node-version }}
20- - name : yarn install and test
20+ - name : pnpm install and test
2121 run : |
22- yarn
23- yarn test
22+ pnpm install
23+ pnpm test
2424 env :
2525 CI : true
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: github pages
33on :
44 push :
55 branches :
6- - master
6+ - main
77 paths :
8- - side /**/*.js
9- - side /package.json
8+ - docusaurus /**/*
9+ - docusaurus /package.json
1010jobs :
1111 build-deploy :
1212 runs-on : ubuntu-18.04
@@ -18,15 +18,15 @@ jobs:
1818 with :
1919 node-version : 10.x
2020
21- - name : yarn install and test
21+ - name : pnpm install and test
2222 run : |
2323 cd side
24- yarn
25- yarn build
24+ pnpm install
25+ pnpm build
2626
2727 - name : Deploy
2828 uses : peaceiris/actions-gh-pages@v2
2929 env :
3030 PERSONAL_TOKEN : ${{ secrets.PERSONAL_TOKEN }}
3131 PUBLISH_BRANCH : gh-pages
32- PUBLISH_DIR : ./side /build
32+ PUBLISH_DIR : ./docusaurus /build
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: release
33on :
44 push :
55 branches :
6- - master
6+ - main
77
88jobs :
99 build-deploy :
@@ -16,11 +16,11 @@ jobs:
1616 with :
1717 node-version : 10.x
1818
19- - name : yarn install, test and build
19+ - name : pnpm install, test and build
2020 run : |
21- yarn
22- yarn test
23- yarn build:prod
21+ pnpm install
22+ pnpm test
23+ pnpm release
2424 - name : Semantic Release
2525 uses : cycjimmy/semantic-release-action@v2
2626 env :
You can’t perform that action at this time.
0 commit comments