Skip to content

Commit

Permalink
IT: modernize the node-provided-npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
eirslett committed Oct 9, 2022
1 parent 8acd999 commit a3d4d32
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
1 change: 1 addition & 0 deletions frontend-maven-plugin/src/it/node-provided-npm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
27 changes: 27 additions & 0 deletions frontend-maven-plugin/src/it/node-provided-npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example",
"version": "0.0.1",
"dependencies": {
"less": "~3.0.2"
"classnames": "^2.3.2"
},
"scripts": {
"prebuild": "npm install"
Expand Down
6 changes: 3 additions & 3 deletions frontend-maven-plugin/src/it/node-provided-npm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v8.11.1</nodeVersion>
<nodeVersion>v16.17.1</nodeVersion>
</configuration>
</execution>

<execution>
<id>npm install</id>
<id>npm ci</id>
<goals>
<goal>npm</goal>
</goals>
<!-- Optional configuration which provides for running any npm command -->
<configuration>
<arguments>install</arguments>
<arguments>ci</arguments>
</configuration>
</execution>

Expand Down

0 comments on commit a3d4d32

Please sign in to comment.