/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/actions/build-core/action.yml
40 строк
2 KB
Shane
fix(core): resolve lazy component chunks under Vite 8 (#31341)
10 авг 2026, 21:18
Не верифицирован
10 авг 2026, 21:18
a73e183
Код
Авторство
О чём код?
name: 'Build Ionic Core' description: 'Build Ionic Core' inputs: ionicons-version: description: 'The NPM tag of ionicons to install.' type: string required: false runs: using: 'composite' steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 24.x - name: 🕸️ Install Dependencies run: npm install working-directory: ./core shell: bash # If an Ionicons version was specified install that. # Otherwise just use the version defined in the package.json. - name: 📦 Install Ionicons Version if: inputs.ionicons-version != '' run: npm install ionicons@${{ inputs.ionicons-version }} working-directory: ./core shell: bash - name: 🏗️ Build Core run: npm run build -- --ci working-directory: ./core shell: bash - name: 🔍 Verify Lazy Imports run: npm run test.lazy-imports working-directory: ./core shell: bash - uses: ./.github/workflows/actions/upload-archive with: name: ionic-core output: core/CoreBuild.zip # Include generated proxy files from Stencil output targets so # framework builds can detect when they need to be updated paths: core/dist core/components core/css core/hydrate core/loader core/src/components.d.ts core/api.txt packages/angular/src/directives/proxies.ts packages/angular/src/directives/proxies-list.ts packages/angular/standalone/src/directives/proxies.ts packages/vue/src/proxies.ts packages/react/src/components/proxies.ts packages/react/src/components/inner-proxies.ts packages/react/src/components/routing-proxies.ts