File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,24 @@ jobs:
1111
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@v3
14+ uses : actions/checkout@v4
1515
1616 - name : Setup Node.js
17- uses : actions/setup-node@v3
17+ uses : actions/setup-node@v4
1818 with :
1919 node-version : ' 18' # Specify the Node.js version you need
20+ cache : ' pnpm'
2021
21- - name : Install dependencies
22- run : npm install
22+ - name : Setup pnpm
23+ uses : pnpm/action-setup@v2
24+ with :
25+ version : ' 8'
26+
27+ - name : Install dependencies (respect pnpm-lock.yaml)
28+ run : pnpm install --frozen-lockfile
2329
24- - name : Build the site
25- run : npm run build
30+ - name : Build
31+ run : pnpm run build --if-present
2632
2733 - name : Deploy to GitHub Pages
2834 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments