Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/quality-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Quality Check

on:
pull_request:
branches:
- main

## Cancel the previous run if a new one is triggered for the current branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
prettier:
name: Check with Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}

- name: Setup Node.js
uses: actions/setup-node@v3

- name: Run Prettier
run: npx prettier --check './**/*.ts'
Loading