@@ -18,18 +18,18 @@ jobs:
1818 permissions :
1919 pull-requests : write
2020 steps :
21- - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
21+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
2323 - name : Set up node
24- uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 .0.2
24+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5 .0.0
2525 with :
2626 node-version-file : ' package.json'
2727
2828 - name : Install dependencies
29- uses : bahmutov/npm-install@237ded403e6012a48281f4572eab0c8eafe55b3f # v1.10.1
29+ uses : bahmutov/npm-install@bea90d40fbd66e7fdd024b93f3b84691f5e1ddd3 # v1.12.0
3030
3131 - name : Restore next build
32- uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2 .0
32+ uses : actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5.0 .0
3333 id : restore-build-cache
3434 env :
3535 cache-name : cache-next-build
@@ -51,13 +51,13 @@ jobs:
5151 run : npx -p nextjs-bundle-analysis report
5252
5353 - name : Upload bundle
54- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
54+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5555 with :
5656 name : bundle
5757 path : .next/analyze/__bundle_analysis.json
5858
5959 - name : Download base branch bundle stats
60- uses : dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
60+ uses : dawidd6/action-download-artifact@09b07ec687d10771279a426c79925ee415c12906 # v17
6161 if : success() && github.event.number
6262 with :
6363 workflow : nextjs_bundle_analysis.yml
8585 - name : Get comment body
8686 id : get-comment-body
8787 if : success() && github.event.number
88- uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 .0.1
88+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
8989 with :
9090 result-encoding : string
9191 script : |
@@ -94,22 +94,22 @@ jobs:
9494 core.setOutput('body', comment)
9595
9696 - name : Find Comment
97- uses : peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
97+ uses : peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0c
9898 if : success() && github.event.number
9999 id : fc
100100 with :
101101 issue-number : ${{ github.event.number }}
102102 body-includes : ' <!-- __NEXTJS_BUNDLE -->'
103103
104104 - name : Create Comment
105- uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4 .0.0
105+ uses : peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5 .0.0
106106 if : success() && github.event.number && steps.fc.outputs.comment-id == 0
107107 with :
108108 issue-number : ${{ github.event.number }}
109109 body : ${{ steps.get-comment-body.outputs.body }}
110110
111111 - name : Update Comment
112- uses : peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4 .0.0
112+ uses : peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5 .0.0
113113 if : success() && github.event.number && steps.fc.outputs.comment-id != 0
114114 with :
115115 issue-number : ${{ github.event.number }}
0 commit comments