Skip to content

Commit

Permalink
Merge pull request #1824 from demergent-labs/npm_fix_vulnerability
Browse files Browse the repository at this point in the history
fix a high security vulnerability reported by npm
  • Loading branch information
lastmjs authored Jun 12, 2024
2 parents 26c015d + fac05d1 commit a8510bd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ jobs:
run: npm link azle
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }}
working-directory: ${{ matrix.example_directories }}
run: node_modules/.bin/azle install-dfx-extension
run: npx azle install-dfx-extension
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }}
working-directory: ${{ matrix.example_directories }}
run: dfx start --clean --background --host 127.0.0.1:8000
Expand Down
4 changes: 4 additions & 0 deletions examples/new/test/pretest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ async function pretest() {
stdio: 'inherit'
});

execSync(`npx -y azle@${version} install-dfx-extension`, {
stdio: 'inherit'
});

execSync(`cd hello_world && dfx canister uninstall-code backend || true`, {
stdio: 'inherit'
});
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8510bd

Please sign in to comment.