2022-08-08 11:24:00 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# Copyright (C) 2022 Storj Labs, Inc.
|
|
|
|
# See LICENSE for copying information.
|
|
|
|
set -exuo pipefail
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
|
|
|
|
npm install --prefer-offline --no-audit --logleve verbose
|
2022-09-26 15:05:54 +01:00
|
|
|
echo "module stub" > ./node_modules/go.mod # prevent Go from scanning this dir
|
2022-08-08 11:24:00 +01:00
|
|
|
npm run build
|
|
|
|
|
|
|
|
npm run lint-ci
|
|
|
|
npm audit || true
|
|
|
|
npm run test
|
|
|
|
|
|
|
|
|