Skip to content

Commit 20b4e12

Browse files
committed
Add test workflow using wait-on-check-action
1 parent fb8a0aa commit 20b4e12

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches: [cm-test]
6+
pull_request:
7+
8+
env:
9+
# Among other things, opts out of Turborepo telemetry. See https://consoledonottrack.com/.
10+
DO_NOT_TRACK: '1'
11+
NODE_VERSION: 18
12+
CODAMA_VERSION: 1.x
13+
SOLANA_VERSION: 1.18.12
14+
15+
jobs:
16+
after-test:
17+
name: After Test
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Wait for CI checks
21+
uses: lewagon/[email protected]
22+
with:
23+
ref: ${{ github.event.pull_request.head.sha }}
24+
repo-token: ${{ secrets.GITHUB_TOKEN }}
25+
wait-interval: 10
26+
running-workflow-name: 'After Test' # Skip current workflow
27+
28+
- name: Echo after waiting
29+
run: echo "After CI checks..."

0 commit comments

Comments
 (0)