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: use nodejs 10.17.0 #330

Merged
merged 3 commits into from
Dec 16, 2019
Merged

ci: use nodejs 10.17.0 #330

merged 3 commits into from
Dec 16, 2019

Conversation

ewanharris
Copy link
Contributor

Builds are failing as the selected SDK (9.x) errors out due to node 8.16.0 being used when trying to select 8.0.2.GA for use

@ewanharris
Copy link
Contributor Author

There's a slew of issues around the mock-fs module with node 10, working to update that and ensure the tests keep passing

Fixes issues with tests on newer node versions
npm appears to be leaving being invalid symlinks in the .bin directory which is then causing issues during module build
@@ -83,6 +83,7 @@ stage('Build') {
dir('hooks') {
sh 'npm ci'
sh 'npm test'
sh 'rm -rf node_modules'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

npm ci should do this, but something is going wrong and it leaves files in .bin pointing to files that no longer exist 🎉

@infosia infosia merged commit 731fa82 into tidev:master Dec 16, 2019
@infosia infosia deleted the fix_node_version branch December 16, 2019 22:08
@infosia infosia restored the fix_node_version branch December 16, 2019 22:08
@ewanharris ewanharris deleted the fix_node_version branch December 16, 2019 22:16
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.

None yet

2 participants