-
-
Notifications
You must be signed in to change notification settings - Fork 583
52 lines (41 loc) · 1.25 KB
/
main.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
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
BIT_TOKEN: ${{ secrets.BIT_TOKEN }}
jobs:
# Test angular
default-angular:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
container:
image: docker://bitcli/bit:latest-node-16.15.0
steps:
- uses: teambit/setup-action@v2.02
with:
name: angular-github-actions
BIT_TOKEN: ${{ env.BIT_TOKEN }}
- uses: actions/checkout@v2
- name: Install dependencies
run: bit install --log error
- name: Bit test
run: bit test --log error
- name: Bit lint
run: bit lint --log error
- name: Bit status
run: bit status --log error
- name: Bit build core
run: bit build core --log error
- name: Bit build http-loader
run: bit build http-loader --skip-tests --log error
- uses: actions/upload-artifact@v2
with:
name: debug-log
path: $HOME/Library/Caches/Bit/logs