chore: release v0.1.6 #2
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: π Lint | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| workflow_dispatch: | |
| jobs: | |
| oxlint: | |
| name: π oxlint κ²μ¬ | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π₯ μμ€μ½λ 체ν¬μμ | |
| uses: actions/checkout@v4 | |
| - name: π¦ Node.js μ€μ | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: π₯ μμ‘΄μ± μ€μΉ | |
| run: npm ci | |
| - name: π oxlint μ€ν | |
| run: | | |
| echo "π oxlintλ‘ μ½λ νμ§μ κ²μ¬ν©λλ€..." | |
| npm run lint | |
| - name: β Lint μ±κ³΅ | |
| if: success() | |
| run: | | |
| echo "β μ½λ νμ§ κ²μ¬κ° μ±κ³΅μ μΌλ‘ ν΅κ³Όνμ΅λλ€!" | |
| echo "π oxlint κ²μ¬ μλ£" | |
| - name: β Lint μ€ν¨ | |
| if: failure() | |
| run: | | |
| echo "β μ½λ νμ§ κ²μ¬μμ λ¬Έμ κ° λ°κ²¬λμμ΅λλ€." | |
| echo "π§ 'npm run lint:fix'λ₯Ό μ€ννμ¬ μλμΌλ‘ μμ ν μ μλ λ¬Έμ λ€μ ν΄κ²°ν΄λ³΄μΈμ." |