-
Notifications
You must be signed in to change notification settings - Fork 2
63 lines (60 loc) · 1.49 KB
/
vue-default-starter-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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Vue env - Default Starter - Stable
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 my-vue-workspace --env bitdev.vue/vue-env
- name: Check initial status
run: |
cd my-vue-workspace
bit list
bit status
bit templates
- name: Create a new component
run: |
cd my-vue-workspace
bit create vue ui/my-first
bit install
bit list
bit status
bit start &
checkserver http://localhost:3000
- name: Create a new app
run: |
cd my-vue-workspace
bit create vue-app apps/my-second
bit install
bit list
# bit use apps/my-second
bit app list
bit status
bit run my-second-app &
checkserver http://localhost:3000
- name: Lint and test
run: |
cd my-vue-workspace
bit list
bit status
bit lint
bit test
- name: Create a local scope, compile and export
run: |
barescope my-org.my-scope-name my-vue-workspace
cd my-vue-workspace
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