Skip to content

Commit

Permalink
Add to CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
dansteren committed Dec 1, 2023
1 parent 6e2d34a commit 696a6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ jobs:
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests && matrix.azle_source == 'repo' }}
shell: bash -l {0}
run: npm link
- if: ${{ needs.release-candidate-deploy.outputs.should_run_tests }}
shell: bash -l {0}
run: npm run lint
- 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "TypeScript and JavaScript CDK for the Internet Computer",
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .js,.ts --fix",
"lint": "if [ \"$npm_config_fix\" ]; then eslint . --ext .js,.ts --fix; else eslint . --ext .js,.ts; fi",
"prepare": "husky install",
"test": "test/test.sh"
},
Expand Down

0 comments on commit 696a6ca

Please sign in to comment.