-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
807 additions
and
2 deletions.
There are no files selected for viewing
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,65 @@ | ||
name: Angular - Bare Starter - Nightly | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bitsrc/nightly:latest | ||
env: | ||
HOME: /home/bituser | ||
|
||
steps: | ||
- name: Initialize a workspace | ||
run: | | ||
bit | ||
bvm | ||
bvm config set RELEASE_TYPE nightly | ||
bvm upgrade | ||
bit new angular my-angular-workspace --aspect teambit.angular/angular --default-scope org.scope-name --log error | ||
- name: Check initial status | ||
run: | | ||
cd my-angular-workspace | ||
# debugging | ||
bit list --log error | ||
bit status --log error | ||
bit templates --log error | ||
- name: Create a new component | ||
run: | | ||
cd my-angular-workspace | ||
bit create ng-module ui/my-first --log error | ||
bit install --log error | ||
bit list --log error | ||
bit status --log error | ||
bit start --log error & | ||
checkserver http://localhost:3000 | ||
- name: Create a new app | ||
run: | | ||
cd my-angular-workspace | ||
bit create ng-app apps/my-second --log error | ||
bit install --add-missing-deps --log error | ||
bit list --log error | ||
bit use apps/my-second --log error | ||
bit app list --log error | ||
bit status --log error | ||
bit run my-second --log error & | ||
checkserver http://localhost:3000 | ||
- name: Test & Lint | ||
run: | | ||
cd my-angular-workspace | ||
bit lint --log error | ||
bit test --log error | ||
- name: Create a local scope, compile and export | ||
run: | | ||
barescope my-org.my-scope-name my-angular-workspace | ||
cd my-angular-workspace | ||
bit scope rename org.scope-name my-org.my-scope-name --refactor --log error | ||
bit link --log error | ||
bit compile --log error | ||
bit tag --message "initial tag" --log error | ||
bit export --log error | ||
continue-on-error: false |
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,65 @@ | ||
name: Angular - Bare Starter - Stable | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bitsrc/stable:latest | ||
env: | ||
HOME: /home/bituser | ||
|
||
steps: | ||
- name: Initialize a workspace | ||
run: | | ||
bit | ||
bvm | ||
bvm config set RELEASE_TYPE nightly | ||
bvm upgrade | ||
bit new angular my-angular-workspace --aspect teambit.angular/angular --default-scope org.scope-name --log error | ||
- name: Check initial status | ||
run: | | ||
cd my-angular-workspace | ||
# debugging | ||
bit list --log error | ||
bit status --log error | ||
bit templates --log error | ||
- name: Create a new component | ||
run: | | ||
cd my-angular-workspace | ||
bit create ng-module ui/my-first --log error | ||
bit install --log error | ||
bit list --log error | ||
bit status --log error | ||
bit start --log error & | ||
checkserver http://localhost:3000 | ||
- name: Create a new app | ||
run: | | ||
cd my-angular-workspace | ||
bit create ng-app apps/my-second --log error | ||
bit install --add-missing-deps --log error | ||
bit list --log error | ||
bit use apps/my-second --log error | ||
bit app list --log error | ||
bit status --log error | ||
bit run my-second --log error & | ||
checkserver http://localhost:3000 | ||
- name: Test & Lint | ||
run: | | ||
cd my-angular-workspace | ||
bit lint --log error | ||
bit test --log error | ||
- name: Create a local scope, compile and export | ||
run: | | ||
barescope my-org.my-scope-name my-angular-workspace | ||
cd my-angular-workspace | ||
bit scope rename org.scope-name my-org.my-scope-name --refactor --log error | ||
bit link --log error | ||
bit compile --log error | ||
bit tag --message "initial tag" --log error | ||
bit export --log error | ||
continue-on-error: false |
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,63 @@ | ||
name: Angular - Create App - Nightly | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bitsrc/nightly:latest | ||
env: | ||
HOME: /home/bituser | ||
steps: | ||
- name: Show BVM config | ||
run: | | ||
bvm config | ||
- name: Initialize a new workspace | ||
run: | | ||
bit init my-workspace --default-scope my-org.my-scope --log error | ||
- name: Create a Angular app component | ||
run: | | ||
cd my-workspace | ||
bit create ng-app apps/my-app --aspect teambit.angular/angular --log error | ||
bit use apps/my-app --log error | ||
- name: Install dependencies | ||
run: | | ||
cd my-workspace | ||
bit install --add-missing-deps --log error | ||
- name: Show components, envs and status | ||
run: | | ||
cd my-workspace | ||
bit status --log error | ||
bit envs --log error | ||
- name: Compile, lint, test components | ||
run: | | ||
cd my-workspace | ||
bit compile --log error | ||
bit lint --log error | ||
bit test --log error | ||
- name: Run Angular app component | ||
run: | | ||
cd my-workspace | ||
bit run my-app --log error & | ||
checkserver http://localhost:3000 | ||
- name: Preview components | ||
run: | | ||
cd my-workspace | ||
bit start --log error & | ||
checkserver http://localhost:3000 | ||
- name: Tag components | ||
run: | | ||
cd my-workspace | ||
bit tag --message "initial tag" --log error | ||
- name: Create a local scope | ||
run: | | ||
barescope my-org.my-scope my-workspace | ||
- name: Export components | ||
run: | | ||
cd my-workspace | ||
bit export --log error | ||
continue-on-error: false |
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,64 @@ | ||
name: Angular - Create App - Stable | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bitsrc/stable:latest | ||
env: | ||
HOME: /home/bituser | ||
steps: | ||
- name: Show BVM config | ||
run: | | ||
bvm config | ||
- name: Initialize a new workspace | ||
run: | | ||
bit init my-workspace --default-scope my-org.my-scope --log error | ||
- name: Create a Angular app component | ||
run: | | ||
cd my-workspace | ||
bit create ng-app apps/my-app --aspect teambit.angular/angular --log error | ||
bit use apps/my-app --log error | ||
- name: Install dependencies | ||
run: | | ||
cd my-workspace | ||
bit install --add-missing-deps --log error | ||
- name: Show components, envs and status | ||
run: | | ||
cd my-workspace | ||
bit status --log error | ||
bit envs --log error | ||
- name: Compile, lint, test components | ||
run: | | ||
cd my-workspace | ||
bit compile --log error | ||
bit lint --log error | ||
bit test --log error | ||
- name: Run Angular app component | ||
run: | | ||
cd my-workspace | ||
bit run my-app --log error & | ||
checkserver http://localhost:3000 | ||
bit list --log error | ||
- name: Preview components | ||
run: | | ||
cd my-workspace | ||
bit start --log error & | ||
checkserver http://localhost:3000 | ||
- name: Tag components | ||
run: | | ||
cd my-workspace | ||
bit tag --message "initial tag" --log error | ||
- name: Create a local scope | ||
run: | | ||
barescope my-org.my-scope my-workspace | ||
- name: Export components | ||
run: | | ||
cd my-workspace | ||
bit export --log error | ||
continue-on-error: false |
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,57 @@ | ||
name: Angular - Create Component - Nightly | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bitsrc/nightly:latest | ||
env: | ||
HOME: /home/bituser | ||
steps: | ||
- name: Show BVM config | ||
run: | | ||
bvm config | ||
- name: Create a new workspace | ||
run: | | ||
bit new angular my-workspace --env teambit.angular/angular --default-scope my-org.my-scope --log error | ||
- name: Create a React component and set env | ||
run: | | ||
cd my-workspace | ||
bit create ng-module pages/welcome --env my-org.my-scope/envs/my-angular-env --log error | ||
- name: Install dependencies | ||
run: | | ||
cd my-workspace | ||
bit install --add-missing-deps --log error | ||
- name: Show components, envs and status | ||
run: | | ||
cd my-workspace | ||
bit status --log error | ||
bit envs --log error | ||
- name: Compile, lint, test components | ||
run: | | ||
cd my-workspace | ||
bit compile --log error | ||
bit lint --log error | ||
bit test --log error | ||
- name: Preview components | ||
run: | | ||
cd my-workspace | ||
bit start --log error & | ||
checkserver http://localhost:3000 | ||
- name: Tag components | ||
run: | | ||
cd my-workspace | ||
bit tag --message "initial tag" --log error | ||
- name: Create a local scope | ||
run: | | ||
barescope my-org.my-scope my-workspace | ||
- name: Export components | ||
run: | | ||
cd my-workspace | ||
bit export --log error | ||
continue-on-error: false |
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,57 @@ | ||
name: Angular - Create Component - Stable | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bitsrc/stable:latest | ||
env: | ||
HOME: /home/bituser | ||
steps: | ||
- name: Show BVM config | ||
run: | | ||
bvm config | ||
- name: Create a new workspace | ||
run: | | ||
bit new angular my-workspace --env teambit.angular/angular --default-scope my-org.my-scope --log error | ||
- name: Create a React component and set env | ||
run: | | ||
cd my-workspace | ||
bit create ng-module pages/welcome --env my-org.my-scope/envs/my-angular-env --log error | ||
- name: Install dependencies | ||
run: | | ||
cd my-workspace | ||
bit install --add-missing-deps --log error | ||
- name: Show components, envs and status | ||
run: | | ||
cd my-workspace | ||
bit status --log error | ||
bit envs --log error | ||
- name: Compile, lint, test components | ||
run: | | ||
cd my-workspace | ||
bit compile --log error | ||
bit lint --log error | ||
bit test --log error | ||
- name: Preview components | ||
run: | | ||
cd my-workspace | ||
bit start --log error & | ||
checkserver http://localhost:3000 | ||
- name: Tag components | ||
run: | | ||
cd my-workspace | ||
bit tag --message "initial tag" --log error | ||
- name: Create a local scope | ||
run: | | ||
barescope my-org.my-scope my-workspace | ||
- name: Export components | ||
run: | | ||
cd my-workspace | ||
bit export --log error | ||
continue-on-error: false |
Oops, something went wrong.