@@ -11,18 +11,18 @@ jobs:
1111 analyze :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515
1616 - name : Set up node
17- uses : actions/setup-node@v1
17+ uses : actions/setup-node@v4
1818 with :
1919 node-version : ' 20.x'
2020
2121 - name : Install dependencies
22- uses : bahmutov/npm-install@v1.7.10
22+ uses : bahmutov/npm-install@v1.10.1
2323
2424 - name : Restore next build
25- uses : actions/cache@v2
25+ uses : actions/cache@v4
2626 id : restore-build-cache
2727 env :
2828 cache-name : cache-next-build
@@ -41,13 +41,13 @@ jobs:
4141 run : npx -p nextjs-bundle-analysis@0.5.0 report
4242
4343 - name : Upload bundle
44- uses : actions/upload-artifact@v2
44+ uses : actions/upload-artifact@v3
4545 with :
4646 path : .next/analyze/__bundle_analysis.json
4747 name : bundle_analysis.json
4848
4949 - name : Download base branch bundle stats
50- uses : dawidd6/action-download-artifact@v2
50+ uses : dawidd6/action-download-artifact@v3
5151 if : success() && github.event.number
5252 with :
5353 workflow : analyze.yml
7373 run : ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare
7474
7575 - name : Upload analysis comment
76- uses : actions/upload-artifact@v2
76+ uses : actions/upload-artifact@v3
7777 with :
7878 name : analysis_comment.txt
7979 path : .next/analyze/__bundle_analysis_comment.txt
8282 run : echo ${{ github.event.number }} > ./pr_number
8383
8484 - name : Upload PR number
85- uses : actions/upload-artifact@v2
85+ uses : actions/upload-artifact@v3
8686 with :
8787 name : pr_number
8888 path : ./pr_number
0 commit comments