File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ concurrency:
1313jobs :
1414 capture-website :
1515 runs-on : ubuntu-22.04
16+ env :
17+ SCREENSHOT_FILE : screenshot.webp
1618 steps :
1719 - name : Check out repository
1820 uses : actions/checkout@v4
@@ -28,11 +30,16 @@ jobs:
2830 git_user_signingkey : true
2931 git_commit_gpgsign : true
3032
33+ - name : Install pnpm
34+ uses : pnpm/action-setup@v4
35+ with :
36+ version : 9.1.2
37+
3138 - name : Setup node environment
3239 uses : actions/setup-node@v4
3340 with :
3441 node-version : 18.17
35- cache : npm
42+ cache : " pnpm "
3643
3744 - name : Screenshot Website
3845 env :
5057 - name : Commit changes
5158 uses : stefanzweifel/git-auto-commit-action@v5
5259 with :
60+ file_pattern : ${{ env.SCREENSHOT_FILE }}
5361 commit_user_name : ${{ secrets.USER_NAME }}
5462 commit_user_email : ${{ secrets.USER_EMAIL }}
5563 commit_author : ${{ secrets.USER_NAME }} <${{ secrets.USER_EMAIL }}>
You can’t perform that action at this time.
0 commit comments