Stencil - Bare Starter - Nightly #252
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: Stencil - 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 stencil my-stencil-workspace --aspect frontend.stencil/stencil-env --default-scope org.scope-name --log error | |
- name: Check initial status | |
run: | | |
cd my-stencil-workspace | |
# debugging | |
bit list --log error | |
bit status --log error | |
bit templates --log error | |
- name: Create a new component | |
run: | | |
cd my-stencil-workspace | |
bit create stencil 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: Test & Lint | |
run: | | |
cd my-stencil-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-stencil-workspace | |
cd my-stencil-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 |