Skip to content

Commit f1039bf

Browse files
committed
Fix smart accounts workflow.
1 parent 9ab1db0 commit f1039bf

1 file changed

Lines changed: 38 additions & 5 deletions

File tree

.github/workflows/run_smart_accounts.yml

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
run-smart-accounts:
11+
run-zero-dev:
1212
runs-on: ubuntu-latest
1313
env:
1414
COMPASS_API_KEY: ${{ secrets.COMPASS_API_KEY }}
@@ -26,17 +26,50 @@ jobs:
2626
node-version: '20'
2727

2828
- name: PWD
29-
working-directory: smart_accounts
29+
working-directory: smart_accounts/zerodev
3030
run: pwd
3131

3232
- name: Install dependencies
33-
working-directory: smart_accounts
33+
working-directory: smart_accounts/zerodev
3434
run: npm install
3535

3636
- name: Build TypeScript
37-
working-directory: smart_accounts
37+
working-directory: smart_accounts/zerodev
3838
run: npm run build
3939

4040
- name: Run application
41-
working-directory: smart_accounts
41+
working-directory: smart_accounts/zerodev
42+
run: npm run start
43+
44+
run-safe:
45+
runs-on: ubuntu-latest
46+
env:
47+
COMPASS_API_KEY: ${{ secrets.COMPASS_API_KEY }}
48+
49+
steps:
50+
- name: Checkout repository
51+
uses: actions/checkout@v3
52+
53+
- name: Change directory
54+
run: cd smart_accounts
55+
56+
- name: Set up Node.js
57+
uses: actions/setup-node@v3
58+
with:
59+
node-version: '20'
60+
61+
- name: PWD
62+
working-directory: smart_accounts/safe
63+
run: pwd
64+
65+
- name: Install dependencies
66+
working-directory: smart_accounts/safe
67+
run: npm install
68+
69+
- name: Build TypeScript
70+
working-directory: smart_accounts/safe
71+
run: npm run build
72+
73+
- name: Run application
74+
working-directory: smart_accounts/safe
4275
run: npm run start

0 commit comments

Comments
 (0)