Skip to content

Commit f19bb15

Browse files
committed
add build step before running test, add build github action
1 parent 5639632 commit f19bb15

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/build.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
e2e-tests:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout Repository 📝
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: "20.x"
24+
cache: "yarn"
25+
26+
- name: Install Dependencies
27+
run: yarn install --frozen-lockfile
28+
29+
- name: Build contracts
30+
run: yarn build

.github/workflows/e2e-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- name: Install Dependencies
3131
run: yarn install --frozen-lockfile
3232

33+
- name: Build contracts
34+
run: yarn build
35+
3336
- name: Set Up Starship Infrastructure
3437
id: starship-infra
3538
uses: cosmology-tech/[email protected]

0 commit comments

Comments
 (0)