Skip to content

Html - Hello world - Quick Start - Nightly #245

Html - Hello world - Quick Start - Nightly

Html - Hello world - Quick Start - Nightly #245

name: Html - Hello world - Quick Start - 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: Show BVM config
run: |
bvm config
- name: Initialize a workspace
run: |
bit new html-hello-world my-hello-world-vanilla --env teambit.community/starters/hello-world-vanilla --log error
- name: Run the app component
run: |
cd my-hello-world-vanilla
bit run hello-world-app --log error &
checkserver http://localhost:3000
- name: Preview components
run: |
cd my-hello-world-vanilla
bit start --log error &
checkserver http://localhost:3000
- name: Collaborate
run: |
cd my-hello-world-vanilla
bit status --log error
- name: Create a local scope, compile and export
run: |
barescope my-org.my-scope-name my-hello-world-vanilla
cd my-hello-world-vanilla
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