Skip to content

Todo MVC - Quick Start #58

Todo MVC - Quick Start

Todo MVC - Quick Start #58

name: Todo MVC - Quick Start
on:
schedule:
- cron: '0 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 --version
bit new vue-todomvc my-vue-todomvc --aspect teambit.community/starters/todomvc
- name: Run the app component
run: |
cd my-vue-todomvc
bit run todomvc-app &
checkserver http://localhost:3000
- name: Preview components
run: |
cd my-vue-todomvc
bit start &
checkserver http://localhost:3000
- name: Collaborate
run: |
cd my-vue-todomvc
bit status
- name: Create a local scope, compile and export
run: |
barescope my-org.my-scope-name my-vue-todomvc
cd my-vue-todomvc
bit scope rename org.scope-name my-org.my-scope-name --refactor
bit link
bit compile
bit tag --message "initial tag"
bit export
continue-on-error: false