-
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (25 loc) · 874 Bytes
/
backend-deploy-localhost.yml
File metadata and controls
30 lines (25 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: backend - deploy localhost
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
deploy_localhost:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v6
- name: Use Node.js 24.x
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: 'npm'
cache-dependency-path: backend/package-lock.json
- run: npm install
- run: npx hardhat ignition deploy ./ignition/modules/SponsorshipQueue.ts --network hardhat
- run: npx hardhat ignition deploy ./ignition/modules/DistributionQueue.ts --network hardhat
- run: npx hardhat ignition deploy ./ignition/modules/DistributionVerifier.ts --network hardhat
- run: npx hardhat ignition deploy ./ignition/modules/QueueHandler.ts --network hardhat