Skip to content

ARROW-13705: [Website] pin node version to 16 to allow CI and local dev parity#142

Closed
jimexist wants to merge 3 commits intoapache:masterfrom
jimexist:add-nvmrc
Closed

ARROW-13705: [Website] pin node version to 16 to allow CI and local dev parity#142
jimexist wants to merge 3 commits intoapache:masterfrom
jimexist:add-nvmrc

Conversation

@jimexist
Copy link
Member

@jimexist jimexist commented Aug 24, 2021

pin node version to 16 to allow CI and local dev parity.

another reason for this pin is that e.g. node 16 uses npm v7 which has version 2 lock format, incompatible with prior versions.

@github-actions
Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on JIRA?
https://issues.apache.org/jira/browse/ARROW

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

See also:

@jimexist jimexist changed the title pin node version to 16 to allow CI and local dev parity ARROW-13705: [Website] pin node version to 16 to allow CI and local dev parity Aug 24, 2021
@github-actions
Copy link

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- uses: actions/setup-node@v2
Copy link
Member

Choose a reason for hiding this comment

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

Oh, I missed this in #141...

sh("npm", "ci")
else
sh("npm", "install", "--no-save")
end
Copy link
Member

Choose a reason for hiding this comment

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

What is the difference of npm ci and npm install --no-save?

Copy link
Member Author

Choose a reason for hiding this comment

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

https://docs.npmjs.com/cli/v7/commands/npm-ci#description

This command is similar to npm install, except it's meant to be used in automated environments such as test platforms, continuous integration, and deployment -- or any situation where you want to make sure you're doing a clean install of your dependencies.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@kou kou closed this in 0790998 Aug 24, 2021
@jimexist jimexist deleted the add-nvmrc branch August 24, 2021 07:27
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.

2 participants