File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 build-and-deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
13- - name : Get yarn cache directory path
14- id : yarn-cache-dir-path
15- run : echo "::set-output name=dir::$(yarn cache dir)"
16- - name : Cache yarn cache
17- uses : actions/cache@v2
18- id : cache-yarn-cache
19- with :
20- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
21- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
22- restore-keys : |
23- ${{ runner.os }}-yarn-
24- - name : Cache node_modules
25- id : cache-node-modules
26- uses : actions/cache@v2
27- with :
28- path : node_modules
29- key : ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
30- restore-keys : |
31- ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-
32- - run : yarn --ignore-engines
33- if : |
34- steps.cache-yarn-cache.outputs.cache-hit != 'true' ||
35- steps.cache-node-modules.outputs.cache-hit != 'true'
12+ - uses : actions/checkout@v4
13+ - uses : oven-sh/setup-bun@v2
14+ - run : bun i
3615 - name : site
3716 env :
3817 CI : true
3918 GA_KEY : UA-72788897-5
4019 PROGRESS : none
41- run : npm run build
42-
20+ run : bun run build
4321 - name : Deploy
44- uses : peaceiris/actions-gh-pages@v3
22+ uses : peaceiris/actions-gh-pages@v4
4523 with :
4624 github_token : ${{ secrets.GITHUB_TOKEN }}
4725 publish_dir : ./dist
You can’t perform that action at this time.
0 commit comments