/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
.github/actions/unit/action.yml
31 строка
820 B
Zyie
chore: update GitHub Actions and npm to latest (#12070)
01 июн 2026, 16:56
Не верифицирован
01 июн 2026, 16:56
009e338
Код
Авторство
О чём код?
name: "Test Project" description: "Runs unit tests" inputs: type: description: "Type of tests to run" required: true default: Both runs: using: "composite" steps: - name: Visual Tests if: ${{ inputs.type == 'Both' || inputs.type == 'Visuals' }} shell: bash run: npm run test -- visual --maxWorkers=50% env: NODE_ENV: production - name: Unit Tests if: ${{ inputs.type == 'Both' || inputs.type == 'Unit' }} shell: bash run: xvfb-run --auto-servernum npm run test -- unit --maxWorkers=50% env: NODE_ENV: production - name: Upload Visual Test Images if: ${{ success() || failure() }} uses: actions/upload-artifact@v7 with: name: pr_uploads path: .pr_uploads/ include-hidden-files: true