mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: 'Test Angular E2E'
|
|
description: 'Test Angular E2E'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 16
|
|
|
|
- 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-angular
|
|
path: ./angular
|
|
filename: AngularBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-angular-server
|
|
path: ./packages/angular-server
|
|
filename: AngularServerBuild.zip
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
shell: bash
|
|
working-directory: ./angular/test/test-app
|
|
- name: Sync Built Changes
|
|
run: npm run sync
|
|
shell: bash
|
|
working-directory: ./angular/test/test-app
|
|
- name: Run Tests
|
|
run: npm run test
|
|
shell: bash
|
|
working-directory: ./angular/test/test-app
|