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

Remove the test-files directory and use npm ci instead of npm install #46

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions on_cmd_browsertest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {

silent(true);

Expand Down Expand Up @@ -101,4 +101,4 @@ silent(true);
}); // exec test
})(); // runTesting

}); // npm install
}); // npm ci
2 changes: 1 addition & 1 deletion on_cmd_integrationtest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:false});
exec('npm ci', {async:false});

silent(true);

Expand Down
4 changes: 2 additions & 2 deletions on_cmd_makeref.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var botio = require(process.env['BOTIO_MODULE']);
require('shelljs/global');

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {
silent(true);

//
Expand Down Expand Up @@ -61,4 +61,4 @@ exec('npm install', {async:true}, function() {
mkdir('-p', __dirname+'/pdf-cache');
cp('./test/pdfs/*.pdf', __dirname+'/pdf-cache');
}); // exec makeref
}); // npm install
}); // npm ci
2 changes: 1 addition & 1 deletion on_cmd_preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var botio = require(process.env['BOTIO_MODULE']);
require('shelljs/global');
exec('npm install');
exec('npm ci');

echo();
echo('>> Making web site');
Expand Down
4 changes: 2 additions & 2 deletions on_cmd_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {

silent(true);

Expand Down Expand Up @@ -115,4 +115,4 @@ silent(true);
}); // exec test
})(); // runTesting

}); // npm install
}); // npm ci
2 changes: 1 addition & 1 deletion on_cmd_unittest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:false});
exec('npm ci', {async:false});

silent(true);

Expand Down
4 changes: 2 additions & 2 deletions on_cmd_xfatest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('shelljs/global');

var fail = false;

exec('npm install', {async:true}, function() {
exec('npm ci', {async:true}, function() {

silent(true);

Expand Down Expand Up @@ -115,4 +115,4 @@ silent(true);
}); // exec test
})(); // runTesting

}); // npm install
}); // npm ci
6 changes: 0 additions & 6 deletions test-files/browser_manifest.json

This file was deleted.

10 changes: 0 additions & 10 deletions test-files/browser_manifest.json-with-chrome

This file was deleted.