Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from node16 to node20 #392

Merged
merged 6 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading