diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c00b554b..f3c2a86a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,12 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + cache-dependency-path: '**/package-lock.json' + - name: Download binary artifact run: | mkdir -p ${{ env.RUNNER_BIN_DIR }} @@ -46,5 +52,11 @@ jobs: run: | bash import-keys.sh + - name: "Clean install dependencies" + run: npm ci + + - name: "Run npm build" + run: npm run build + - name: Run Tests run: npm test \ No newline at end of file diff --git a/tests/testutils.test.ts b/tests/testutils.test.ts index 3ad6871e..d7b7d8be 100644 --- a/tests/testutils.test.ts +++ b/tests/testutils.test.ts @@ -18,7 +18,7 @@ export const faucet = { export const exampleCheqdNetwork = { network: 'testnet', - rpcUrl: 'https://rpc.cheqd.network', + rpcUrl: 'http://localhost:26657', gasPrice: GasPrice.fromString( `50${faucet.minimalDenom}` ) }