diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c68bd3e56..96649d2576 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -113,8 +113,16 @@ jobs: - name: Run pre-test Azle setup run: | + npm install + + if [[ "${{ matrix.azle_source }}" == "repo" ]]; then + npm link + fi + # Install dfx - npx azle install-global-dependencies --dfx + # Hey Jordan, can you help me figure out why this doesn't work? While we are at it, there is a weird error that happens when we npm install + # npx azle install-global-dependencies --dfx + node src/build/index.js install-global-dependencies --dfx echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH # MacOS-specific DNS configuration @@ -122,12 +130,6 @@ jobs: sudo networksetup -setdnsservers Ethernet 9.9.9.9 fi - npm install - - if [[ "${{ matrix.azle_source }}" == "repo" ]]; then - npm link - fi - npm run lint shell: bash -l {0}