Skip to content

Commit 6970176

Browse files
authored
Merge branch 'development' into 321-crud-endpoints-testcases-apidoc-for-notification
2 parents a869288 + 32c4ac3 commit 6970176

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1987
-131
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
env:
1111
TOKEN_SECRET: ${{ secrets.TOKEN_SECRET }}
1212
DB_URL: ${{ secrets.DB_URL }}
13+
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
1314

1415
permissions:
1516
contents: read

.husky/pre-commit

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
# npm test
5+
npx lint-staged
6+
7+
if [ "$(uname)" == "Darwin" ]; then
8+
npm run test
9+
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
10+
npm run test
11+
elif [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
12+
npm run testWin
13+
fi

.lintstagedrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"*.js": [
3+
"prettier --write",
4+
"eslint --fix"
5+
]
6+
}

0 commit comments

Comments
 (0)