Skip to content

Commit

Permalink
feat: Use Node.js 20 in action (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Sep 25, 2023
1 parent 00282d6 commit 4c0d5a2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title-preview-ignoreLabels.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: yarn install
- run: yarn build
- uses: ./
Expand Down
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: yarn install
- run: yarn build
- uses: ./
Expand Down
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: yarn install
- run: yarn build
- uses: ./
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title-preview.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: yarn install
- run: yarn build
- uses: ./
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr-title.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: yarn install
- run: yarn build
- run: yarn semantic-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
- run: yarn install
- run: yarn lint && yarn test

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -2,7 +2,7 @@ name: semantic-pull-request
author: Jan Amann <jan@amann.work>
description: Ensure your PR title matches the Conventional Commits spec (https://www.conventionalcommits.org/).
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'shield'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -42,6 +42,6 @@
"semantic-release": "^19.0.5"
},
"engines": {
"node": "^16.0.0"
"node": "^20.0.0"
}
}

0 comments on commit 4c0d5a2

Please sign in to comment.