Skip to content

Commit

Permalink
trying another clenaup of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimsyed committed Apr 24, 2024
1 parent 74d262f commit 18435a7
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/pr_ci_frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,13 @@ jobs:
- name: Setup Node environment
uses: actions/setup-node@v4

- name: Adjust permissions
run: sudo chown -R $USER:$USER . && sudo chmod -R 777 .

- name: Install dependencies via Yarn
uses: borales/actions-yarn@v5
with:
cmd: install --frozen-lockfile --check-files
cmd: install
dir: "frontend"

- name: Install Prettier
working-directory: ./frontend
run: yarn add prettier

- name: Run Prettier - Formatting check
Expand All @@ -75,13 +71,18 @@ jobs:
yarn prettier . --check --config ../.prettierrc --ignore-path ../.prettierignore
- name: Run Type Check
working-directory: ./frontend
run: yarn nuxi typecheck
if: always()
uses: borales/actions-yarn@v4
with:
cmd: nuxi typecheck
dir: "frontend"

- name: Run eslint - Linting
working-directory: ./frontend
run: |
yarn eslint . --ext .js,.vue
if: always()
uses: borales/actions-yarn@v4
with:
cmd: eslint . --ext .js,.vue
dir: "frontend"

- name: Install Playwright Browsers
working-directory: ./frontend
Expand Down

0 comments on commit 18435a7

Please sign in to comment.