785a63e0a8
* Updated lock-file to fix https://github.com/npm/cli/issues/4859. * Updated integration-tests to webpack 5 to fix https://github.com/webpack/webpack/issues/14532. * Added `mode` to webpack-integration-tests to avoid the warning `The 'mode' option has not been set...`. * Replaced outdated `grunt-bg-shell`-package to get rid of coffee-script warnings
16 lines
322 B
Bash
Executable File
16 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Cleanup: package-lock and "npm ci" is not working with local dependencies
|
|
rm dist package-lock.json -rf
|
|
npm install --legacy-peer-deps
|
|
npm run build
|
|
|
|
for i in dist/*-test.js ; do
|
|
echo "----------------------"
|
|
echo "-- Running $i"
|
|
echo "----------------------"
|
|
node "$i"
|
|
echo "Success"
|
|
done |