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

Upgraded Frogbot to use node20 #770

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/action-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: "20.x"

# Install and run tests
- name: Install
run: npm i
- name: Lint
run: npm run lint
- name: Unit tests
run: npm t
run: npm t
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Install npm
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "20"

- name: Setup Python3
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
description: "By default, this is the URL of the GitHub repository owner, such as the organization that owns the repository."
required: false
runs:
using: "node16"
using: "node20"
main: "action/lib/main.js"
branding:
icon: "terminal"
Expand Down
2 changes: 1 addition & 1 deletion action/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 action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "lib/main.js",
"engines": {
"npm": ">=7.0.0",
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"scripts": {
"prepublishOnly": "npm prune --production && npm run compile",
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/jfrog-pipelines/pipelines-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipelines:
image:
auto:
language: node
version: "16"
version: "20"
environmentVariables:
# [Mandatory]
# JFrog platform URL
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/jfrog-pipelines/pipelines-yarn2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipelines:
image:
auto:
language: node
version: "16"
version: "20"
environmentVariables:
# [Mandatory if the two conditions below are met]
# 1. The project uses yarn 2, NuGet or .NET Core to download its dependencies
Expand Down
Loading