Skip to content

Commit

Permalink
test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
g3k0 committed Apr 17, 2024
1 parent 6082079 commit e03a6d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,16 @@ jobs:
node-version: 20.x

- name: Install dependencies
run: |
set -e
node ci --function installDeps
run: node ci --function installDeps

- name: Run linter
run: |
set -e
node ci --function lint
run: node ci --function lint

- name: Run duplications check
run: |
set -e
node ci --function checksDuplications
run: node ci --function checksDuplications

- name: Run smart contracts unit tests
run: |
set -e
node ci --function smartContractsUnitTest
run: node ci --function smartContractsUnitTest

- name: Run scripts unit tests
run: |
set -e
node ci --function scriptsUnitTest
run: node ci --function scriptsUnitTest
2 changes: 1 addition & 1 deletion .jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"reporters": ["console"],
"languages": ["javascript", "typescript"],
"gitignore": true,
"failOnDuplication": false
"failOnDuplication": true
}

2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
},
coverageThreshold: {
global: {
lines: 80,
lines: 100,
},
},
};

0 comments on commit e03a6d0

Please sign in to comment.