-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ag 17 commitlint fix (#1) * fix(@script): AG-17 changed script logic changed script login the commit script * fix(@script): AG-17 changed script modified some logic in the script folder * docs(@agora): modified readme modified readme * feat(@agora): AG-35 basic workflow (#3) * feat(@agora): AG-35 basic workflow basic GitHub Actions workflow implementation * feat(@agora): AG-35 duplicated code inserted duplicated code check in ci-cd * docs(@agora): AG-35 updloaded image (#5) uploaded image for functional analysis
- Loading branch information
Showing
8 changed files
with
672 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
|
||
jobs: | ||
codeQuality: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js 20.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 20.x | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Run linter | ||
run: npm run lint | ||
|
||
- name: Run duplications check | ||
run: npm run duplicated | ||
|
||
- name: Run unit tests | ||
run: npm run test-contracts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,6 @@ node_modules | |
# solidity-coverage files | ||
/coverage | ||
/coverage.json | ||
|
||
# reports folder | ||
report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"path": ["./"], | ||
"silent": false, | ||
"format": ["console"], | ||
"ignore": [ | ||
"**/*.min.js", | ||
"**/*.map", | ||
"**/*.spec.js", | ||
"**/*.test.js", | ||
"**/node_modules" | ||
], | ||
"ignoreCase": true, | ||
"threshold": 10, | ||
"reporters": ["console"], | ||
"languages": ["javascript", "typescript"], | ||
"gitignore": true, | ||
"failOnDuplication": false | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.