Skip to content

Commit

Permalink
chore: formatting check added to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Mar 18, 2024
1 parent 4efab90 commit 86d0b3f
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
node-version: ${{ env.NODE_VER }}

- name: yarn test
- name: Check test
run: yarn && yarn test

lint-check:
Expand All @@ -60,7 +60,7 @@ jobs:
with:
node-version: ${{ env.NODE_VER }}

- name: yarn lint
- name: Check lint
run: yarn && yarn lint

build-check:
Expand All @@ -75,5 +75,20 @@ jobs:
with:
node-version: ${{ env.NODE_VER }}

- name: yarn build
run: yarn && yarn build
- name: Check build
run: yarn && yarn build

format-check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VER }}

- name: Check formatting
run: yarn && yarn format

0 comments on commit 86d0b3f

Please sign in to comment.