-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (43 loc) · 1.12 KB
/
react-quickstart-stable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: React - 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 hello-world my-hello-world --env teambit.community/starters/hello-world
- name: Run the app component
run: |
cd my-hello-world
bit run hello-world-app &
checkserver http://localhost:3000
- name: Preview components
run: |
cd my-hello-world
bit start &
checkserver http://localhost:3000
- name: Collaborate
run: |
cd my-hello-world
bit status
- name: Create a local scope, compile and export
run: |
barescope my-org.my-scope-name my-hello-world
cd my-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