Some bug fixes and feature improvement on Linovelib Plugin #865
This file contains hidden or 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: Format Check | |
| on: | |
| pull_request: | |
| branches: [master] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| format-check: | |
| name: Check Code Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install Prettier | |
| run: | | |
| rm package.json | |
| rm package-lock.json | |
| npm init -y | |
| npm install prettier@3.2.5 | |
| - name: Check Code Formatting | |
| run: npx prettier --check "./src/**/*.{ts,tsx,js,css}" |