Skip to content

Commit 53a147d

Browse files
authored
Add staging pipeline workflow for deployment
1 parent 8773ca1 commit 53a147d

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/staging.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Staging Pipeline
2+
3+
on:
4+
push:
5+
branches: [ develop ]
6+
7+
jobs:
8+
staging-deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
cache: "npm"
20+
21+
- name: Install dependencies
22+
run: npm install
23+
24+
- name: Compile contracts
25+
run: npm run compile
26+
27+
- name: Run tests
28+
run: npm run test
29+
30+
- name: Deploy to Sepolia Testnet
31+
run: npm run deploy:testnet
32+
33+
- name: Verify contracts
34+
run: npm run verify --network sepolia

0 commit comments

Comments
 (0)