Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(backend): move dir to packages/backend #63

Merged
merged 1 commit into from Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/backend-lint.yml
Expand Up @@ -3,13 +3,13 @@ name: Backend Lint
on:
push:
branches: ["dev"]
paths: ["backend/"]
paths: ["packages/backend/"]
pull_request:
branches: ["dev"]

defaults:
run:
working-directory: "backend/"
working-directory: "packages/backend/"

jobs:
run-backend-lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backend-tests.yml
Expand Up @@ -3,13 +3,13 @@ name: Backend Tests
on:
push:
branches: ["dev"]
paths: ["backend/"]
paths: ["packages/backend/"]
pull_request:
branches: ["dev"]

defaults:
run:
working-directory: "backend/"
working-directory: "packages/backend/"

jobs:
run-backend-tests:
Expand Down
4 changes: 2 additions & 2 deletions .husky/pre-commit
Expand Up @@ -10,7 +10,7 @@ if [ -n "$(git status frontend --porcelain --untracked-files=no)" ]; then
fi

# If backend has no changes, no need to run backend lint-staged
if [ -n "$(git status backend --porcelain --untracked-files=no)" ]; then
cd backend
if [ -n "$(git status packages/backend --porcelain --untracked-files=no)" ]; then
cd packages/backend
npx lint-staged
fi
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.