File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,27 +24,25 @@ jobs:
2424 - name : Check Time
2525 run : date
2626
27+ - uses : pnpm/action-setup@v4
28+ with :
29+ version : 7
30+
2731 - uses : actions/setup-node@v4
2832 with :
2933 node-version : ' 16'
34+ cache : ' pnpm'
3035
31- - name : Check yarn / node version
36+ - name : Check pnpm / node version
3237 run : |
33- echo "yarn version $(yarn --version)"
38+ echo "pnpm version $(pnpm --version)"
3439 echo "node version $(node -v)"
3540
36- - name : Cache dependencies
37- uses : actions/cache@v3
38- with :
39- path : ~/.npm
40- key : npm-${{ hashFiles('package-lock.json') }}
41- restore-keys : npm-
42-
4341 - name : Install Dependencies
44- run : yarn install
42+ run : pnpm install --frozen-lockfile
4543
4644 - name : Build Site
47- run : yarn build
45+ run : pnpm build
4846
4947 - name : Deploy to GitHub Pages
5048 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments