Vue - Quickstart - Stable #378
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
name: Vue - Quickstart - 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: Show BVM config | |
run: | | |
bvm config | |
- name: Initialize a workspace | |
run: | | |
bit new vue-hello-world my-vue-hello-world --env teambit.community/starters/hello-world-vue | |
- name: Run the app component | |
run: | | |
cd my-vue-hello-world | |
bit run hello-world-app & | |
checkserver http://localhost:3000 | |
- name: Preview components | |
run: | | |
cd my-vue-hello-world | |
bit start & | |
checkserver http://localhost:3000 | |
- name: Collaborate | |
run: | | |
cd my-vue-hello-world | |
bit status | |
- name: Create a local scope, compile and export | |
run: | | |
barescope my-org.my-scope-name my-vue-hello-world | |
cd my-vue-hello-world | |
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 |