Enforce npm node version
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2022-10-06 11:32:13 +02:00
parent 11da463972
commit 22187c1450
7 changed files with 24979 additions and 4 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

View File

@ -7,13 +7,18 @@ process.on('warning', warning => {
console.log(warning.stack);
});
process.on('exit', async function() {
if (container) await container.rm();
});
let container;
async function test() {
let isCI = false;
if (process.argv[2] === 'ci')
isCI = true;
const container = new Docker();
container = new Docker();
await container.run(isCI);
dataSources = JSON.parse(JSON.stringify(dataSources));
@ -41,8 +46,6 @@ async function test() {
}
}));
jasmine.exitOnCompletion = false;
if (isCI) {
const JunitReporter = require('jasmine-reporters');
jasmine.addReporter(new JunitReporter.JUnitXmlReporter());

23215
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,8 @@
"url": "https://gitea.verdnatura.es/verdnatura/salix"
},
"engines": {
"node": ">=14"
"node": ">=14",
"npm": ">=8"
},
"dependencies": {
"axios": "^0.25.0",

1
print/.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

1750
print/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,10 @@
"type": "git",
"url": "https://git.verdnatura.es/salix"
},
"engines": {
"node": ">=14",
"npm": ">=8"
},
"license": "GPL-3.0",
"dependencies": {
"fs-extra": "^7.0.1",