feat: humanizer v1.6.0 β patterns 39/40, naturalness grade A~D, expanβ¦ #317
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: CI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Install all skills (local) | |
| working-directory: ${{ runner.temp }} | |
| run: | | |
| npx skills add "$GITHUB_WORKSPACE" --yes | |
| echo "β Successfully installed all skills from local repository" | |
| - name: Verify all skill files | |
| working-directory: ${{ runner.temp }} | |
| run: | | |
| echo "π Checking installed skill files..." | |
| SKILLS_DIR=".agents/skills" | |
| if [ ! -d "$SKILLS_DIR" ]; then | |
| echo "β Skills directory not found: $SKILLS_DIR" | |
| exit 1 | |
| fi | |
| echo "β Skills directory exists: $SKILLS_DIR" | |
| # μ€μΉλ λͺ¨λ μ€ν¬ νμΈ | |
| SKILL_COUNT=0 | |
| for skill_dir in "$SKILLS_DIR"/*; do | |
| if [ -d "$skill_dir" ]; then | |
| skill_name=$(basename "$skill_dir") | |
| echo "" | |
| echo "π¦ Checking skill: $skill_name" | |
| if [ -f "$skill_dir/SKILL.md" ]; then | |
| echo " β Found SKILL.md" | |
| SKILL_COUNT=$((SKILL_COUNT + 1)) | |
| else | |
| echo " β SKILL.md not found in $skill_dir" | |
| exit 1 | |
| fi | |
| fi | |
| done | |
| echo "" | |
| echo "β Successfully verified $SKILL_COUNT skills" | |
| # μ΅μ 1κ° μ΄μμ μ€ν¬μ΄ μ€μΉλμλμ§ νμΈ | |
| if [ $SKILL_COUNT -eq 0 ]; then | |
| echo "β No skills were installed" | |
| exit 1 | |
| fi | |
| test-remote: | |
| runs-on: ubuntu-latest | |
| # main λΈλμΉμ mergeλ νμλ§ μ€ν | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Install all skills from Skills.sh | |
| run: | | |
| npx skills add daleseo/korean-skills --yes | |
| echo "β Successfully installed all skills from GitHub" | |
| - name: Verify all skill files | |
| run: | | |
| echo "π Checking installed skill files..." | |
| SKILLS_DIR=".agents/skills" | |
| if [ ! -d "$SKILLS_DIR" ]; then | |
| echo "β Skills directory not found: $SKILLS_DIR" | |
| exit 1 | |
| fi | |
| echo "β Skills directory exists: $SKILLS_DIR" | |
| # μ€μΉλ λͺ¨λ μ€ν¬ νμΈ | |
| SKILL_COUNT=0 | |
| for skill_dir in "$SKILLS_DIR"/*; do | |
| if [ -d "$skill_dir" ]; then | |
| skill_name=$(basename "$skill_dir") | |
| echo "" | |
| echo "π¦ Checking skill: $skill_name" | |
| if [ -f "$skill_dir/SKILL.md" ]; then | |
| echo " β Found SKILL.md" | |
| SKILL_COUNT=$((SKILL_COUNT + 1)) | |
| else | |
| echo " β SKILL.md not found in $skill_dir" | |
| exit 1 | |
| fi | |
| fi | |
| done | |
| echo "" | |
| echo "β Successfully verified $SKILL_COUNT skills" | |
| # μ΅μ 1κ° μ΄μμ μ€ν¬μ΄ μ€μΉλμλμ§ νμΈ | |
| if [ $SKILL_COUNT -eq 0 ]; then | |
| echo "β No skills were installed" | |
| exit 1 | |
| fi |