mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
name: 'Build Ionic React Router'
|
|
description: 'Build Ionic React Router'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
- name: Install Dependencies
|
|
run: npm install --legacy-peer-deps
|
|
shell: bash
|
|
working-directory: ./packages/react-router
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-react
|
|
path: ./packages/react
|
|
filename: ReactBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-core
|
|
path: ./core
|
|
filename: CoreBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-react
|
|
path: ./packages/react
|
|
filename: ReactBuild.zip
|
|
- name: Install Dependencies
|
|
run: npm install --legacy-peer-deps
|
|
shell: bash
|
|
working-directory: ./packages/react-router
|
|
- name: Sync
|
|
run: npm run sync
|
|
shell: bash
|
|
working-directory: ./packages/react-router
|
|
- name: Lint
|
|
run: npm run lint
|
|
shell: bash
|
|
working-directory: ./packages/react-router
|
|
- name: Build
|
|
run: npm run build
|
|
shell: bash
|
|
working-directory: ./packages/react-router
|
|
- uses: ./.github/workflows/actions/upload-archive
|
|
with:
|
|
name: ionic-react-router
|
|
output: packages/react-router/ReactRouterBuild.zip
|
|
paths: packages/react-router/dist
|