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

(#202) Install @nut-tree/libnut@next #207

Merged
merged 2 commits into from
Jan 31, 2021
Merged

Conversation

s1hofmann
Copy link
Member

No description provided.

@s1hofmann s1hofmann linked an issue Jan 26, 2021 that may be closed by this pull request
Comment on lines +28 to +29
- name: Install @nut-tree/libnut@next
run: npm i @nut-tree/libnut@next
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it intended to only install @nut-tree/libnut@next in the test job?
As the changes are not committed as far as I can see, the checkout action in line 45 would not consider the change.
In addition, even if a publish would consider @nut-tree/libnut@next it would fail from my perspective as the installation during the ci process would change the package-lock.json and publishing with uncommitted changes is not allowed. To be honest, I'm not sure if there is a switch to change that. 🤔

I'd recommend to add the next version of libnut to the package.json instead of installing it during CI.

Copy link
Member Author

@s1hofmann s1hofmann Jan 27, 2021

Choose a reason for hiding this comment

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

Is it intended to only install @nut-tree/libnut@next in the test job?

Argh, too many jobs I recently updated. No, that went unnoticed.

during the ci process would change the package-lock.json and publishing with uncommitted changes is not allowed

npm does not care about a dirty working tree and package-lock.json files are never published, so that's no problem.

I'd recommend to add the next version of libnut to the package.json instead of installing it during CI.

This would require knowledge about the last published snapshot version of @nut-tree/libnut.
Running npm i @nut-tree/libnut@next simply installs the latest snapshot under the @next tag.

Copy link
Contributor

Choose a reason for hiding this comment

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

hmhmh 🤔
you could just add the following to package.json

  "dependencies": {
    "@nut-tree/libnut": "next",
    "clipboardy": "2.0.0",
    "opencv4nodejs-prebuilt": "5.3.0-2"
  },

if the next version is tagged correctly, no further info is required.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@svettwer svettwer assigned s1hofmann and unassigned svettwer Jan 28, 2021
@s1hofmann s1hofmann merged commit 75d3b07 into develop Jan 31, 2021
@s1hofmann s1hofmann deleted the feature/202/libnut_snapshots branch January 31, 2021 15:01
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.

Use @nut-tree/libnut@next for snapshot releases
2 participants