Skip to content

Commit

Permalink
add: test-without-compile script to be used in github test action
Browse files Browse the repository at this point in the history
  • Loading branch information
blockchainguyy committed Oct 10, 2023
1 parent e38227e commit cae73ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ jobs:
fi
- name: Test
run: npm run test
# Running test-without-compile as artifacts already generated in build command
run: npm run test-without-compile
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"main": "index.js",
"scripts": {
"test": "npx hardhat test",
"test-without-compile": "npx hardhat test --no-compile",
"build": "npx hardhat clean && npx hardhat compile && rm -rf dist && mkdir dist && cp -r artifacts/contracts/** dist",
"lint": "solhint 'contracts/**/*.sol' && eslint 'scripts/**/*.js' && eslint 'test/*.js'",
"prettier": "prettier --write 'contracts/**/*.sol' 'scripts/**/*.js' 'test/*.js' '*.js' 'package.json' '.solhint.json' '.prettierrc'",
Expand Down

0 comments on commit cae73ab

Please sign in to comment.