a8edeb7814
Some tools like check-downgrades doesn't like invalid go.mod files. Change-Id: I5a773e98f821adcbaa373a474d9420ba7447f5f7
14 lines
352 B
Bash
Executable File
14 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2022 Storj Labs, Inc.
|
|
# See LICENSE for copying information.
|
|
set -euxo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
npm install --prefer-offline --no-audit --logleve verbose
|
|
echo "module stub" > ./node_modules/go.mod # prevent Go from scanning this dir
|
|
npm run build
|
|
|
|
npm run lint-ci
|
|
npm audit || true
|
|
npm run test
|