diff options
| author | Ritesh Ghosh <[email protected]> | 2024-10-29 13:13:29 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-10-29 13:13:29 +0530 |
| commit | ac07ce91ea32c71e57a2f956d32daf729307699d (patch) | |
| tree | d115d0a26f5f3f6eef342c39dede97f3cd440894 /.github/workflows | |
| parent | 9ae824b42c2665869e0a7bc964339ee6cc414d1a (diff) | |
| download | aniwatch-api-ac07ce91ea32c71e57a2f956d32daf729307699d.tar.xz aniwatch-api-ac07ce91ea32c71e57a2f956d32daf729307699d.zip | |
ci: add prettier lint check workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/prettier-check.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/prettier-check.yml b/.github/workflows/prettier-check.yml new file mode 100644 index 0000000..15008dd --- /dev/null +++ b/.github/workflows/prettier-check.yml @@ -0,0 +1,26 @@ +name: "Prettier Check" + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + lint_check: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup NodeJS + uses: actions/setup-node@v4 + with: + node-version: "22.x" + + - name: Install deps + run: npm i + + - name: Check lint + run: npm run lint:ci |
