diff --git a/.github/workflows/call.test-hot-fuzz.yml b/.github/workflows/call.test-hot-fuzz.yml index 0ec668d44e..620e654a26 100644 --- a/.github/workflows/call.test-hot-fuzz.yml +++ b/.github/workflows/call.test-hot-fuzz.yml @@ -27,7 +27,8 @@ jobs: echidna --version - name: Run Yarn Install - run: yarn install + run: | + yarn install - name: Run tests run: | diff --git a/.github/workflows/call.test-local-subgraph.yml b/.github/workflows/call.test-local-subgraph.yml index 0d55f56848..91231ac824 100644 --- a/.github/workflows/call.test-local-subgraph.yml +++ b/.github/workflows/call.test-local-subgraph.yml @@ -35,9 +35,11 @@ jobs: npx tsc --version - name: "Build contracts" - run: yarn build + run: | + yarn lint + yarn build working-directory: ./packages/ethereum-contracts - + - name: "Build" run: npx ts-node scripts/buildNetworkConfig.ts polygon-mainnet working-directory: ${{ env.subgraph-working-directory }} diff --git a/.github/workflows/call.test-sdk-core.yml b/.github/workflows/call.test-sdk-core.yml index 8b22ff0107..985399b550 100644 --- a/.github/workflows/call.test-sdk-core.yml +++ b/.github/workflows/call.test-sdk-core.yml @@ -39,7 +39,9 @@ jobs: run: yarn install --frozen-lockfile - name: "Build contracts" - run: yarn build + run: | + yarn lint + yarn build working-directory: ${{ env.ethereum-contracts-working-directory }} - name: "Start hardhat node" @@ -49,7 +51,9 @@ jobs: - name: "Build SDK-Core" # build sdk-core because of auto linking to dependency - run: yarn build + run: | + yarn lint + yarn build working-directory: ${{ env.sdk-core-working-directory }} - name: "Deploy Framework and Tokens" diff --git a/packages/subgraph/tasks/getSFMeta.sh b/packages/subgraph/tasks/getSFMeta.sh index a7497551d0..d011330ecb 100755 --- a/packages/subgraph/tasks/getSFMeta.sh +++ b/packages/subgraph/tasks/getSFMeta.sh @@ -1,12 +1,12 @@ +#!/usr/bin/env bash # This files is a bash script that is used to generate the src/meta.ignore.ts file. # This is used to fill out the SFMeta entity (see schema.graphql) # The different fields: `${SOME_FIELD}` must be set in the enivronment when running this script. -#!/usr/bin/env bash D="$(readlink -f "$(dirname "$0")")" BRANCH="$(git branch --show-current)" -PACKAGE_VERSION="$(jq -r ".version" $D/../package.json)" +PACKAGE_VERSION="$(jq -r ".version" "$D"/../package.json)" cat > "$D"/../src/meta.ignore.ts << EOF export let commitHash = "${COMMIT_HASH}";