Skip to content

Commit

Permalink
dockerize: fix workflow to run inside frontend folder
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiramtilakiiit committed Jun 14, 2024
1 parent f03c5cd commit a3218ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:

- name: Install Prettier
run: |
cd frontend
npm install --global prettier
- name: Format with Prettier
run: prettier --write "**/*.{js,jsx,md,mdx,css,yaml}"
run: |
cd frontend
prettier --write "**/*.{js,jsx,md,mdx,css,yaml}"
- uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
uses: actions/checkout@v2

- name: Install Dependencies
run: npm ci
run: |
cd frontend
npm ci
- name: Code Linting
run: npm run lint
run: |
cd frontend
npm run lint

0 comments on commit a3218ff

Please sign in to comment.