-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(): sync with main for GitHub Actions
chore(): sync with main for GitHub Actions
- Loading branch information
Showing
49 changed files
with
14,508 additions
and
18,285 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: 'Build Ionic Angular Server' | ||
description: 'Build Ionic Angular Server' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Install Angular Server Dependencies | ||
run: npm install --legacy-peer-deps | ||
shell: bash | ||
working-directory: ./packages/angular-server | ||
- name: Build | ||
run: npm run build.prod | ||
shell: bash | ||
working-directory: ./packages/angular-server | ||
- uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: ionic-angular-server | ||
output: packages/angular-server/AngularServerBuild.zip | ||
paths: packages/angular-server/dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: 'Build Ionic Angular' | ||
description: 'Build Ionic Angular' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Cache Core Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: core-node-modules | ||
with: | ||
path: ./core/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./core/package-lock.json')}}-v2 | ||
- name: Cache Angular Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: angular-node-modules | ||
with: | ||
path: ./angular/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./angular/package-lock.json')}}-v2 | ||
- uses: ./.github/workflows/actions/download-archive | ||
with: | ||
name: ionic-core | ||
path: ./core | ||
filename: CoreBuild.zip | ||
- name: Install Angular Dependencies | ||
run: npm install | ||
shell: bash | ||
working-directory: ./angular | ||
- name: Link @ionic/core | ||
run: npm link | ||
shell: bash | ||
working-directory: ./core | ||
- name: Link @ionic/core in @ionic/angular | ||
run: npm link @ionic/core | ||
shell: bash | ||
working-directory: ./angular | ||
- name: Lint | ||
run: npm run lint | ||
shell: bash | ||
working-directory: ./angular | ||
- name: Build | ||
run: npm run build | ||
shell: bash | ||
working-directory: ./angular | ||
- uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: ionic-angular | ||
output: ./angular/AngularBuild.zip | ||
paths: ./angular/dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: 'Build Ionic Core' | ||
description: 'Build Ionic Core' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Cache Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: core-node-modules | ||
with: | ||
path: ./core/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./core/package-lock.json') }}-v2 | ||
- name: Install Dependencies | ||
run: npm install | ||
working-directory: ./core | ||
shell: bash | ||
- name: Build Core | ||
run: npm run build -- --ci | ||
working-directory: ./core | ||
shell: bash | ||
- uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: ionic-core | ||
output: core/CoreBuild.zip | ||
paths: core/dist core/components core/css core/hydrate core/loader |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: 'Build Ionic React Router' | ||
description: 'Build Ionic React Router' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Cache Core Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: core-node-modules | ||
with: | ||
path: ./core/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./core/package-lock.json') }}-v2 | ||
- 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 | ||
- 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 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: 'Build Ionic React' | ||
description: 'Build Ionic React' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Cache Core Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: core-node-modules | ||
with: | ||
path: ./core/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./core/package-lock.json') }}-v2 | ||
- uses: ./.github/workflows/actions/download-archive | ||
with: | ||
name: ionic-core | ||
path: ./core | ||
filename: CoreBuild.zip | ||
- name: Install React Dependencies | ||
run: npm install --legacy-peer-deps | ||
shell: bash | ||
working-directory: ./packages/react | ||
- name: Sync | ||
run: npm run sync | ||
shell: bash | ||
working-directory: ./packages/react | ||
- name: Lint | ||
run: npm run lint | ||
shell: bash | ||
working-directory: ./packages/react | ||
- name: Build | ||
run: npm run build | ||
shell: bash | ||
working-directory: ./packages/react | ||
- name: Test Spec | ||
run: npm run test.spec | ||
shell: bash | ||
working-directory: ./packages/react | ||
- uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: ionic-react | ||
output: packages/react/ReactBuild.zip | ||
paths: packages/react/dist packages/react/css |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: 'Build Ionic Vue Router' | ||
description: 'Builds Ionic Vue Router' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Cache Core Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: core-node-modules | ||
with: | ||
path: ./core/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./core/package-lock.json') }}-v2 | ||
- uses: ./.github/workflows/actions/download-archive | ||
with: | ||
name: ionic-core | ||
path: ./core | ||
filename: CoreBuild.zip | ||
- uses: ./.github/workflows/actions/download-archive | ||
with: | ||
name: ionic-vue | ||
path: ./packages/vue | ||
filename: VueBuild.zip | ||
- name: Install Vue Router Dependencies | ||
run: npm install | ||
shell: bash | ||
working-directory: ./packages/vue-router | ||
- name: Sync | ||
run: npm run sync | ||
shell: bash | ||
working-directory: ./packages/vue-router | ||
- name: Lint | ||
run: npm run lint | ||
shell: bash | ||
working-directory: ./packages/vue-router | ||
- name: Build | ||
run: npm run build | ||
shell: bash | ||
working-directory: ./packages/vue-router | ||
- name: Test Spec | ||
run: npm run test.spec | ||
shell: bash | ||
working-directory: ./packages/vue-router | ||
- uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: ionic-vue-router | ||
output: ./packages/vue-router/VueRouterBuild.zip | ||
paths: packages/vue-router/dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: 'Build Ionic Vue' | ||
description: 'Build Ionic Vue' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Cache Core Node Modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: core-node-modules | ||
with: | ||
path: ./core/node_modules | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./core/package-lock.json') }}-v2 | ||
- uses: ./.github/workflows/actions/download-archive | ||
with: | ||
name: ionic-core | ||
path: ./core | ||
filename: CoreBuild.zip | ||
- name: Install Vue Dependencies | ||
run: npm install | ||
shell: bash | ||
working-directory: ./packages/vue | ||
- name: Sync | ||
run: npm run sync | ||
shell: bash | ||
working-directory: ./packages/vue | ||
- name: Lint | ||
run: npm run lint | ||
shell: bash | ||
working-directory: ./packages/vue | ||
- name: Build | ||
run: npm run build | ||
shell: bash | ||
working-directory: ./packages/vue | ||
- uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: ionic-vue | ||
output: packages/vue/VueBuild.zip | ||
paths: packages/vue/dist packages/vue/css |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Ionic Framework Archive Download' | ||
description: 'Downloads and decompresses an archive from a previous job' | ||
inputs: | ||
path: | ||
description: 'Input archive name' | ||
filename: | ||
description: 'Input file name' | ||
name: | ||
description: 'Archive name' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
name: ${{ inputs.name }} | ||
path: ${{ inputs.path }} | ||
- name: Exract Archive | ||
run: unzip -q -o ${{ inputs.path }}/${{ inputs.filename }} | ||
shell: bash |
Oops, something went wrong.