Skip to content

Commit ca098e4

Browse files
committed
chore: update actions
1 parent 4e86c33 commit ca098e4

File tree

6 files changed

+64
-2756
lines changed

6 files changed

+64
-2756
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// bit-generated-eslint-config
22
{
33
"extends": [
4-
"./node_modules/.cache/.eslintrc.bit.09f34547347758a84fbdb8b40b6c72c6c55b5ac4.json"
4+
"./node_modules/.cache/.eslintrc.bit.eacb0e4b2ab8610aad057b62309d9a7fb058486b.json"
55
]
66
}

.github/workflows/merge.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,22 @@ jobs:
1313
main-merge:
1414
if: github.event.pull_request.merged == true
1515
runs-on: ubuntu-latest
16-
container:
17-
image: bitsrc/stable:latest-alpine
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }}
19+
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
20+
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
1821

1922
steps:
2023
- name: Checkout repository
2124
uses: actions/checkout@v4
2225

23-
- name: Install dependencies
24-
run: bit install
25-
env:
26-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
27-
28-
- name: Merge
29-
run: bit ci merge -b
30-
env:
31-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
26+
- name: Initialize Bit
27+
uses: bit-tasks/init@v3
28+
with:
29+
ws-dir: '.'
30+
31+
- name: Bit Tag and Export
32+
uses: bit-tasks/tag-export@v3
33+
with:
34+
build: true

.github/workflows/pull-request.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,29 @@ name: Bit PR Check
22

33
on:
44
pull_request:
5-
types: [opened, synchronize, reopened]
5+
types: [opened, synchronize]
66

77
jobs:
8-
pr-check:
8+
verify:
99
runs-on: ubuntu-latest
10-
container:
11-
image: bitsrc/stable:latest-alpine
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }}
1213

1314
steps:
1415
- name: Checkout repository
1516
uses: actions/checkout@v4
1617

17-
- name: Install dependencies
18-
run: bit install
19-
env:
20-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
21-
22-
- name: PR Check
23-
run: bit ci pr -b
24-
env:
25-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
18+
- name: Initialize Bit
19+
uses: bit-tasks/init@v3
20+
with:
21+
ws-dir: '.'
22+
23+
- name: Bit Pull Request
24+
uses: bit-tasks/pull-request@v3
25+
with:
26+
version-labels: true
27+
version-labels-color-major: "f0a09f"
28+
version-labels-color-minor: "f0e8bd"
29+
version-labels-color-patch: "c2e0c6"
30+
clear-labels: true

.github/workflows/verify.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,17 @@ on: push
55
jobs:
66
verify:
77
runs-on: ubuntu-latest
8-
container:
9-
image: bitsrc/stable:latest-alpine
8+
env:
9+
BIT_CONFIG_ACCESS_TOKEN: ${{ secrets.BIT_CONFIG_ACCESS_TOKEN }}
1010

1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414

15-
- name: Install dependencies
16-
run: bit install
17-
env:
18-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
19-
20-
- name: List components
21-
run: bit list automations.design
22-
env:
23-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
24-
25-
- name: Verify workspace
26-
run: bit ci verify
27-
env:
28-
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
15+
- name: Initialize Bit
16+
uses: bit-tasks/init@v3
17+
with:
18+
ws-dir: '.'
19+
20+
- name: Bit Verify
21+
uses: bit-tasks/verify@v2

0 commit comments

Comments
 (0)