This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
chore: setup commitlint and fix typescript error #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prettier | |
on: [push, pull_request] | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Run npm ci | |
run: npm ci | |
- name: Run Prettier | |
run: npx prettier --write . |