Skip to content

Commit 4c0d5a2

Browse files
authored
feat: Use Node.js 20 in action (#240)
1 parent 00282d6 commit 4c0d5a2

9 files changed

+9
-9
lines changed

.github/workflows/lint-pr-title-preview-ignoreLabels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 16
21+
node-version: 20
2222
- run: yarn install
2323
- run: yarn build
2424
- uses: ./

.github/workflows/lint-pr-title-preview-outputErrorMessage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
- run: yarn install
2121
- run: yarn build
2222
- uses: ./

.github/workflows/lint-pr-title-preview-validateSingleCommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
- run: yarn install
2121
- run: yarn build
2222
- uses: ./

.github/workflows/lint-pr-title-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
- run: yarn install
2121
- run: yarn build
2222
- uses: ./

.github/workflows/lint-pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
- uses: ./
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 16
20+
node-version: 20
2121
- run: yarn install
2222
- run: yarn build
2323
- run: yarn semantic-release

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 20
2020
- run: yarn install
2121
- run: yarn lint && yarn test
2222

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: semantic-pull-request
22
author: Jan Amann <[email protected]>
33
description: Ensure your PR title matches the Conventional Commits spec (https://www.conventionalcommits.org/).
44
runs:
5-
using: 'node16'
5+
using: 'node20'
66
main: 'dist/index.js'
77
branding:
88
icon: 'shield'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@
4242
"semantic-release": "^19.0.5"
4343
},
4444
"engines": {
45-
"node": "^16.0.0"
45+
"node": "^20.0.0"
4646
}
4747
}

0 commit comments

Comments
 (0)