Skip to content

Commit

Permalink
feat: additional misc amendments
Browse files Browse the repository at this point in the history
Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Sep 24, 2024
1 parent 646b990 commit 0c99b01
Show file tree
Hide file tree
Showing 7 changed files with 825 additions and 84 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
- name: Verify Commit Linting
run: |
npm exec \
--no \
--package=@commitlint/cli \
-- \
commitlint \
Expand Down Expand Up @@ -110,6 +111,7 @@ jobs:
- name: Run tests
run: |
npm exec \
--no \
--package=jest \
-- \
jest
Expand Down Expand Up @@ -162,6 +164,7 @@ jobs:
- name: Build Android APK
run: |
npm exec \
--no \
--package=expo \
-- \
expo prebuild \
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
path = assets
url = https://github.com/safsbe/mental-health-app-assets.git
branch = main
shallow = true
10 changes: 8 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
npm test
npm run lint
#!/usr/bin/env sh

[ -n "$CI" ] && exit 0
if [ "$LINT_STAGED" = "0" ]; then
echo "lint-staged disabled via LINT_STAGED env var"
exit 0
fi

npx --no lint-staged
7 changes: 7 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"*.{js,ts}": [
"npx --no --package=prettier -- prettier --write",
"npx --no --package=eslint -- eslint --fix --report-unused-disable-directives --cache"
],
"*.md": "npx --no --package=prettier -- prettier --write"
}
2 changes: 1 addition & 1 deletion MAINTAINING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

This document details how to develop and build this project.

## Creating a relesae
## Creating a release

#TODO
Loading

0 comments on commit 0c99b01

Please sign in to comment.