Skip to content

Commit

Permalink
Update workflow with format check
Browse files Browse the repository at this point in the history
  • Loading branch information
annavik committed Jun 4, 2024
1 parent 7a88d5e commit b964272
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
- "!./**"
- "ui/**"


push:
branches: ["master", "main"]
paths:
Expand All @@ -36,12 +35,15 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: 'ui/.nvmrc'
node-version-file: "ui/.nvmrc"

- name: Install Dependencies
run: yarn install

- name: Run ESLint
- name: Check Format
run: yarn format --check

- name: Run Linter
run: yarn lint

test:
Expand All @@ -56,7 +58,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: 'ui/.nvmrc'
node-version-file: "ui/.nvmrc"

- name: Install Dependencies
run: yarn install
Expand Down

0 comments on commit b964272

Please sign in to comment.