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

Upgrade GitHub Actions to use newer version of NodeJS/NPM #918

Closed
dlabordus opened this issue Aug 3, 2022 · 0 comments · Fixed by #1192
Closed

Upgrade GitHub Actions to use newer version of NodeJS/NPM #918

dlabordus opened this issue Aug 3, 2022 · 0 comments · Fixed by #1192
Labels
Kind: Maintenance Maintaining tasks within OpenSCD

Comments

@dlabordus
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The package-lock.json file is created using version 2, this means at least version 7 of NPM.
The build is using NodeJS 14, but if a developer is also using that version the package-lock.json will be downgraded to version 1.

Describe the solution you'd like
Use a newer version of NodeJS (for instance the current stable version 18 with NPM version 8) in the GitHub actions.
And also update documentation to indicate that developers should use this version.

Requirements
GitHub Action are using a newer version of NodeJS to build the project.

@dlabordus dlabordus added the Kind: Maintenance Maintaining tasks within OpenSCD label Aug 3, 2022
apupier added a commit to apupier/open-scd that referenced this issue Mar 3, 2023
- updated GitHub Actions
- provide information in readme on the version to use

fixes openscd#918

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
apupier added a commit to apupier/open-scd that referenced this issue Mar 3, 2023
- updated GitHub Actions
- provide information in readme on the version to use

fixes openscd#918

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
ca-d pushed a commit to apupier/open-scd that referenced this issue Mar 7, 2023
- updated GitHub Actions
- provide information in readme on the version to use

fixes openscd#918

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
danyill pushed a commit that referenced this issue Mar 13, 2023
* chore: Update Node from 14.x to 18.x

- updated GitHub Actions
- provide information in readme on the version to use

fixes #918

Signed-off-by: Aurélien Pupier <apupier@redhat.com>

* fix: explicitly depend on source-map

Adds a "source-map" dev dependency to package.json to fix the version to
one where mozilla/source-map#432 is not an
issue.

---------

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Co-authored-by: Christian Dinkel <christian.dinkel@omicronenergy.com>
Co-authored-by: Sander Jansen <Sander3003@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Kind: Maintenance Maintaining tasks within OpenSCD
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant