-
Notifications
You must be signed in to change notification settings - Fork 2
73 lines (73 loc) · 2.36 KB
/
main.yml
File metadata and controls
73 lines (73 loc) · 2.36 KB
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
64
65
66
67
68
69
70
71
72
73
name: Test Bit Init
on:
workflow_dispatch:
jobs:
install:
runs-on: ubuntu-latest
env:
BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize Bit
uses: bit-tasks/init@v3
with:
ws-dir: "test-data"
# ripple: "true"
log: "trace"
cache: "true"
- name: Resolve component packages from bit.cloud registry (Mandatory for component installation using package managers other than Bit)
run: |
npm config set '@bit:registry' https://node-registry.bit.cloud
npm config set '@teambit:registry' https://node-registry.bit.cloud
npm config set //node-registry.bit.cloud/:_authToken ${{ env.BIT_CONFIG_ACCESS_TOKEN }}
- name: Installed Node version test
run: |
node -v
- name: Installed Bit version test
run: |
bit -v
- name: Installed Bit location test
run: |
which bit
- name: Bit token test
run: echo "$(bit config get user.token)"
- name: Bit workspace directory environment variable test
run: |
echo $WSDIR
- name: Ripple CI environment variable test
run: |
echo $RIPPLE
- name: Log environment variable test
run: |
echo $LOG
- name: Cache environment variable test
run: |
echo $CACHE
- name: Bit org environment variable test
run: |
echo $ORG
- name: Bit scope environment variable test
run: |
echo $SCOPE
- name: Bit analytics reporting environment variable test
run: |
echo $BIT_CONFIG_ANALYTICS_REPORTING
- name: Bit anonymous reporting environment variable test
run: |
echo $BIT_CONFIG_ANONYMOUS_REPORTING
- name: Bit interactive environment variable test
run: |
echo $BIT_CONFIG_INTERACTIVE
- name: Bit user token environment variable test
run: |
echo $BIT_CONFIG_ACCESS_TOKEN
- name: Bit path environment variable test
run: |
echo $PATH
- name: Bit console environment variable test
run: |
echo $BIT_DISABLE_CONSOLE
- name: Bit spinner environment variable test
run: |
echo $BIT_DISABLE_SPINNER