Skip to content

Commit

Permalink
fix install dfx
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Sep 18, 2024
1 parent ddcb17a commit b0e3417
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,23 @@ 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
if [[ "${{ matrix.os }}" == "macos-latest" ]]; then
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}

Expand Down

0 comments on commit b0e3417

Please sign in to comment.