Skip to content

Commit 6d0ef45

Browse files
committed
fix ci workflows
1 parent 46bae69 commit 6d0ef45

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/docs.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424

25+
- name: Wait for CI and E2E
26+
uses: lewagon/wait-on-check-action@v1.3.4
27+
with:
28+
ref: ${{ github.sha }}
29+
check-name: CI
30+
repo-token: ${{ secrets.GITHUB_TOKEN }}
31+
wait-interval: 10
32+
33+
- name: Wait for E2E
34+
uses: lewagon/wait-on-check-action@v1.3.4
35+
with:
36+
ref: ${{ github.sha }}
37+
check-name: E2E Tests
38+
repo-token: ${{ secrets.GITHUB_TOKEN }}
39+
wait-interval: 10
40+
2541
- name: Setup Node.js
2642
uses: actions/setup-node@v4
2743
with:

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: E2E Tests
22

33
on:
44
push:

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@ jobs:
3939
- name: Checkout repository
4040
uses: actions/checkout@v4
4141

42+
- name: Wait for CI
43+
uses: lewagon/wait-on-check-action@v1.3.4
44+
with:
45+
ref: ${{ github.sha }}
46+
check-name: CI
47+
repo-token: ${{ secrets.GITHUB_TOKEN }}
48+
wait-interval: 10
49+
50+
- name: Wait for E2E
51+
uses: lewagon/wait-on-check-action@v1.3.4
52+
with:
53+
ref: ${{ github.sha }}
54+
check-name: E2E Tests
55+
repo-token: ${{ secrets.GITHUB_TOKEN }}
56+
wait-interval: 10
57+
4258
- name: Install Rust
4359
uses: dtolnay/rust-toolchain@stable
4460
with:

0 commit comments

Comments
 (0)