From 0e587488b5d01d8d0d2b8ca9f72c9500fcb7b279 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 21 Jan 2022 11:15:50 -0800 Subject: [PATCH] Use web3.js Travis scripts more to avoid Github Actions/Travis mismatches --- .github/workflows/web3.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/web3.yml b/.github/workflows/web3.yml index 306a7341d..692d0128b 100644 --- a/.github/workflows/web3.yml +++ b/.github/workflows/web3.yml @@ -65,20 +65,7 @@ jobs: node-version: ${{ matrix.node }} cache: 'npm' cache-dependency-path: web3.js/package-lock.json - - run: npm i -g npm@7 - - run: npm ci - - run: npm run lint - run: | - npm run build - ls -l lib - test -r lib/index.iife.js - test -r lib/index.cjs.js - test -r lib/index.esm.js - - run: npm run doc - - run: npm run codecov - - run: | - sh -c "$(curl -sSfL https://release.solana.com/edge/install)" - echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH - PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH" - solana --version - - run: npm run test:live-with-test-validator + source .travis/before_install.sh + npm install + source .travis/script.sh