Skip to content

Commit 49ada05

Browse files
musalegavinbarron
andauthored
chore: update actions versions (#3209)
* Update actions version for release please pipeline * Update node actions to v4 * Update comment action * Try recreate the comment instead of upserting --------- Co-authored-by: Gavin Barron <[email protected]>
1 parent 2be7fae commit 49ada05

File tree

9 files changed

+19
-17
lines changed

9 files changed

+19
-17
lines changed

.github/workflows/next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
registry-url: 'https://registry.npmjs.org'

.github/workflows/pr-clean-deployments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
ref: gh-pages
2828
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
registry-url: 'https://registry.npmjs.org'

.github/workflows/pr-storybook.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
registry-url: 'https://registry.npmjs.org'
@@ -61,7 +61,9 @@ jobs:
6161
target-folder: next/pr/${{ github.event.number }}
6262

6363
- name: Comment PR
64-
uses: thollander/actions-comment-pull-request@v1
64+
uses: thollander/actions-comment-pull-request@v2
6565
with:
6666
message: '📖 The updated storybook is available [here](https://mgt.dev/next/pr/${{ github.event.number }})'
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
comment_tag: '📖 The updated storybook is available'
69+
mode: recreate

.github/workflows/pr-test-app.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
registry-url: 'https://registry.npmjs.org'
@@ -54,7 +54,9 @@ jobs:
5454
target-folder: next/sample/pr/${{ github.event.number }}
5555

5656
- name: Comment PR
57-
uses: thollander/actions-comment-pull-request@v1
57+
uses: thollander/actions-comment-pull-request@v2
5858
with:
5959
message: '🚀 New react-contoso sample application deployed [here](https://mgt.dev/next/sample/pr/${{ github.event.number }})'
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
comment_tag: '🚀 New react-contoso sample application deployed'
62+
mode: recreate

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
- run: npm install -g lerna

.github/workflows/push-preview-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727

2828
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232
registry-url: 'https://registry.npmjs.org'
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@v4
5555

5656
- name: Use Node.js ${{ matrix.node-version }}
57-
uses: actions/setup-node@v3
57+
uses: actions/setup-node@v4
5858
with:
5959
node-version: ${{ matrix.node-version }}
6060
registry-url: 'https://registry.npmjs.org'

.github/workflows/push-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626

2727
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
registry-url: 'https://registry.npmjs.org'
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/checkout@v4
5454

5555
- name: Use Node.js ${{ matrix.node-version }}
56-
uses: actions/setup-node@v3
56+
uses: actions/setup-node@v4
5757
with:
5858
node-version: ${{ matrix.node-version }}
5959
registry-url: 'https://registry.npmjs.org'
@@ -92,7 +92,7 @@ jobs:
9292
steps:
9393
- uses: actions/checkout@v4
9494
- name: Use Node.js ${{ matrix.node-version }}
95-
uses: actions/setup-node@v3
95+
uses: actions/setup-node@v4
9696
with:
9797
node-version: ${{ matrix.node-version }}
9898
registry-url: 'https://registry.npmjs.org'

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
registry-url: 'https://registry.npmjs.org'

.github/workflows/run-release-please.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Use Node.js 20.x
17-
uses: actions/setup-node@v3
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: 20.x
2020
registry-url: 'https://registry.npmjs.org'
21-
- uses: google-github-actions/release-please-action@v3
21+
- uses: googleapis/release-please-action@v4
2222
id: release
2323
with:
2424
config-file: release-please-config.json
2525
manifest-file: .release-please-manifest.json
26-
command: manifest
2726
token: ${{secrets.RELEASE_PLEASE_TOKEN}}
28-
default-branch: main

0 commit comments

Comments
 (0)