@@ -18,11 +18,11 @@ jobs:
1818 container :
1919 image : mcr.microsoft.com/playwright:v1.56.0-noble
2020 steps :
21- - uses : actions/checkout@v4
22- - uses : actions/setup-node@v4
21+ - uses : actions/checkout@v5
22+ - uses : actions/setup-node@v5
2323 with :
24- node-version : 22
25- - uses : actions/cache@v4
24+ node-version : 24.11.1
25+ - uses : actions/cache@v5
2626 with :
2727 path : node_modules
2828 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -40,15 +40,15 @@ jobs:
4040 working-directory : ./demo
4141
4242 - name : Upload test results
43- uses : actions/upload-artifact@v4
43+ uses : actions/upload-artifact@v5
4444 if : always()
4545 with :
4646 name : playwright-report
4747 path : demo/playwright-report/
4848 retention-days : 3
4949
5050 - name : Upload screenshots on failure
51- uses : actions/upload-artifact@v4
51+ uses : actions/upload-artifact@v5
5252 if : failure()
5353 with :
5454 name : test-results
6464 custom-info : ' Please check the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details. And if you want to update the screenshots, please comment with `/update-screenshots`.'
6565
6666 - name : Upload HTML report artifact
67- uses : actions/upload-artifact@v4
67+ uses : actions/upload-artifact@v5
6868 if : always()
6969 with :
7070 name : html-report-${{ github.event.pull_request.number }}
@@ -77,13 +77,13 @@ jobs:
7777 runs-on : ubuntu-latest
7878 steps :
7979 - name : Download HTML report
80- uses : actions/download-artifact@v4
80+ uses : actions/download-artifact@v5
8181 with :
8282 name : html-report-${{ github.event.pull_request.number }}
8383 path : playwright-report
8484
8585 - name : Checkout gh-pages
86- uses : actions/checkout@v4
86+ uses : actions/checkout@v5
8787 with :
8888 ref : gh-pages
8989 path : gh-pages
@@ -102,7 +102,7 @@ jobs:
102102 cp -r playwright-report/* gh-pages/pr-${{ github.event.pull_request.number }}/
103103
104104 - name : Deploy to GitHub Pages
105- uses : peaceiris/actions-gh-pages@v4
105+ uses : peaceiris/actions-gh-pages@v5
106106 with :
107107 github_token : ${{ secrets.GITHUB_TOKEN }}
108108 publish_dir : ./gh-pages
@@ -131,7 +131,7 @@ jobs:
131131 runs-on : ubuntu-latest
132132 steps :
133133 - name : Checkout gh-pages
134- uses : actions/checkout@v4
134+ uses : actions/checkout@v5
135135 with :
136136 ref : gh-pages
137137 path : gh-pages
@@ -148,7 +148,7 @@ jobs:
148148
149149 - name : Deploy to GitHub Pages
150150 if : hashFiles('gh-pages/**') != ''
151- uses : peaceiris/actions-gh-pages@v4
151+ uses : peaceiris/actions-gh-pages@v5
152152 with :
153153 github_token : ${{ secrets.GITHUB_TOKEN }}
154154 publish_dir : ./gh-pages
0 commit comments