Skip to content

Commit

Permalink
Merge pull request #392 from korthout/korthout-node20
Browse files Browse the repository at this point in the history
Update from node16 to node20
  • Loading branch information
korthout authored Oct 28, 2023
2 parents eb8d627 + a94e18c commit 1f42167
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16.x
uses: actions/setup-node@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -50,5 +50,5 @@ jobs:
startsWith(github.event.pull_request.base.ref, 'release')
)
run: |
git tag v1.next-preview --force
git push origin v1.next-preview --force
git tag v2.next-preview --force
git push origin v2.next-preview --force
8 changes: 0 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ jobs:
git push origin v${{ steps.version.outputs.major }} --force
git push origin v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }} --force
- name: Update release-next-preview workflow
uses: jacobtomlinson/gha-find-replace@v3
with:
find: 'v(\d+)\.next-preview'
replace: 'v${{ steps.version.outputs.major }}.next-preview'
include: ".github/workflows/release-next-preview.yml"
regex: true

- name: Commit next development version
id: commit-next-dev
uses: EndBug/add-and-commit@v9
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ outputs:
Whether or not the changes could be backported successfully to all targets - broken down by target.
Follows the pattern '{{label}}=true|false'.
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: 'copy'
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backport-action",
"version": "1.5.0-SNAPSHOT",
"version": "2.0.0-SNAPSHOT",
"private": false,
"description": "GitHub action to automatically backport pull requests",
"main": "lib/main.js",
Expand Down

0 comments on commit 1f42167

Please sign in to comment.