Skip to content

Commit

Permalink
Add base e2e for Angular
Browse files Browse the repository at this point in the history
  • Loading branch information
Embraser01 committed Nov 25, 2019
1 parent b3715f8 commit 744ab72
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/e2e-angular-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on:
schedule:
- cron: '0 */4 * * *'
push:
branches:
- master
pull_request:
paths:
- .github/workflows/e2e-angular-workflow.yml
- scripts/e2e-setup-ci.sh

name: 'E2E Angular'
jobs:
chore:
name: 'Validating Angular'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: 'Use Node.js 10.x'
uses: actions/setup-node@master
with:
version: 10.x

- name: 'Build the standard bundle'
run: |
node ./scripts/run-yarn.js build:cli
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn dlx -p @angular/cli@next ng new berry-angular --interactive=false
cd berry-angular
yarn add @yarnpkg/pnpify @angular-devkit/core@next @babel/preset-env @babel/core -D
yarn unplug @angular/platform-browser @angular/core @angular/common
yarn pnpify ng build --aot
3 changes: 3 additions & 0 deletions packages/plugin-essentials/sources/commands/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export default class YarnCommand extends BaseCommand {
@Command.String(`--cache-folder`)
cacheFolder?: string;

@Command.Boolean(`--silent`, {hidden: true})
silent?: boolean = false;

static usage = Command.Usage({
description: `install the project dependencies`,
details: `
Expand Down

0 comments on commit 744ab72

Please sign in to comment.