15 lines
338 B
Bash
15 lines
338 B
Bash
|
#!/usr/bin/env bash
|
||
|
# Copyright (C) 2022 Storj Labs, Inc.
|
||
|
# See LICENSE for copying information.
|
||
|
|
||
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||
|
set -euxo pipefail
|
||
|
|
||
|
npm install --prefer-offline --no-audit --logleve verbose
|
||
|
touch ./node_modules/go.mod # prevent Go from scanning this dir
|
||
|
npm run build
|
||
|
|
||
|
npm run lint-ci
|
||
|
npm audit || true
|
||
|
npm run test
|