Skip to content

Commit 35bb1af

Browse files
committed
Update gh actions
1 parent 7d50c3f commit 35bb1af

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/analyze.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -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.2
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 [email protected] 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@v6
5151
if: success() && github.event.number
5252
with:
5353
workflow: analyze.yml
@@ -73,7 +73,7 @@ jobs:
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
@@ -82,7 +82,7 @@ jobs:
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

.github/workflows/analyze_comment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
github.event.workflow_run.conclusion == 'success' }}
1515
steps:
1616
- name: Download base branch bundle stats
17-
uses: dawidd6/action-download-artifact@v2
17+
uses: dawidd6/action-download-artifact@v6
1818
with:
1919
workflow: analyze.yml
2020
run_id: ${{ github.event.workflow_run.id }}
2121
name: analysis_comment.txt
2222
path: analysis_comment.txt
2323

2424
- name: Download PR number
25-
uses: dawidd6/action-download-artifact@v2
25+
uses: dawidd6/action-download-artifact@v6
2626
with:
2727
workflow: analyze.yml
2828
run_id: ${{ github.event.workflow_run.id }}

.github/workflows/site_lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
name: Lint on node 20.x and ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v4
1818
- name: Use Node.js 20.x
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: 20.x
2222

2323
- name: Install deps and build (with cache)
24-
uses: bahmutov/npm-install@v1.8.32
24+
uses: bahmutov/npm-install@v1.10.2
2525

2626
- name: Lint codebase
2727
run: yarn ci-check

0 commit comments

Comments
 (0)