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

ci: remove nodejs v12 exclusion logic from run custom checks #1967

Merged
merged 1 commit into from
May 11, 2022

Conversation

Leeyoungone
Copy link
Contributor

Fixes #1961

Signed-off-by: Youngone Lee youngone.lee@accenture.com

@Leeyoungone Leeyoungone removed the request for review from izuru0 April 13, 2022 18:53
tools/custom-checks/run-custom-checks.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@Leeyoungone Leeyoungone force-pushed the ci-1961 branch 2 times, most recently from 6adb386 to a5b0e7b Compare April 25, 2022 12:40
@Leeyoungone Leeyoungone requested a review from petermetz May 9, 2022 16:28
Copy link
Member

@petermetz petermetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Leeyoungone Could you please also remove the same logic from ./tools/ci.sh ?

  # Obtains the major NodeJS version such as "12" from "v12.14.1"
  # We only run the custom checks above v12 because the globby dependency's
  # latest version is forcing us to use Ecmascript Modules which do not work
  # on NodeJS 12 even with the additional flags passed in.
  nodejs_version=`node --version | awk -v range=1 '{print substr($0,range+1,2)}'`
  if [ "$nodejs_version" -gt "12" ]; then
    echo "$(date +%FT%T%z) [CI] NodeJS is newer than v12, running custom checks..."
    yarn run custom-checks
  fi

Copy link
Member

@petermetz petermetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Leeyoungone LGTM, thank you for the updates!

Fixes hyperledger#1961

Signed-off-by: Youngone Lee <youngone.lee@accenture.com>
@petermetz petermetz merged commit 378e4c4 into hyperledger:main May 11, 2022
@petermetz petermetz deleted the ci-1961 branch May 11, 2022 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci(custom-checks): remove NodeJS v12 exclusion logic
3 participants