-
Notifications
You must be signed in to change notification settings - Fork 14
51 lines (42 loc) · 1.31 KB
/
create-proposals.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Create Proposals
on:
push:
branches:
- test-hip
env:
NODE_VERSION: 16
jobs:
create:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
name: Cache Typescript node_modules
id: cache-typescript-node-modules
with:
path: |
./node_modules/
key: node-modules-${{ runner.os }}-v0000-${{ env.NODE_VERSION }}-${{ hashFiles('./yarn.lock') }}
- run: yarn install
shell: bash
- run: export PATH=$PATH:$(pwd)/node_modules/.bin
shell: bash
- run: ls node_modules/.bin
shell: bash
- run: echo "$DEPLOY_KEYPAIR" > ./deploy-keypair.json && chmod 600 ./deploy-keypair.json
shell: bash
env:
DEPLOY_KEYPAIR: ${{ secrets.DEPLOYER_KEYPAIR }}
- name: Run Bulk Create Helium Proposals
run: |
./bin/helium-vote.ts bulk-create-proposal \
-u "https://solana-rpc.test-helium.com?session-key=Pluto" \
--file helium-proposals.json \
--wallet ./deploy-keypair.json \
--orgName Helium \
--multisig ${{ secrets.MULTISIG }}