Skip to content

Commit b0a1517

Browse files
committed
run lerna with npx
1 parent 40d4e74 commit b0a1517

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

templates/terraform/subql/base/scripts/install_subql_stack.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/bash
22

3-
# Exit on any error
4-
set -e
5-
63
# Check if 'git' is installed
74
if ! command -v git &> /dev/null; then
85
echo "'git' is required but not installed. Please install 'git' and try again."
@@ -63,12 +60,12 @@ yarn -v
6360
git clone https://github.com/autonomys/astral.git
6461
cd astral/indexers
6562

66-
yarn
63+
yarn install --frozen-lockfile
6764

68-
export $(grep -v '^#' ../.env.prod | xargs) &&
65+
export $(grep -v '^#' ../.env | xargs) &&
6966
yarn build-dictionary &&
70-
lerna run codegen &&
71-
lerna run build &&
67+
npx lerna run codegen &&
68+
npx lerna run build &&
7269
sudo docker compose -p prod-astral-indexers \
7370
-f ../docker-compose.yml \
7471
-f ../docker-compose.prod.yml \

0 commit comments

Comments
 (0)