Skip to content

Commit efe7621

Browse files
committed
fix git deploy
1 parent 5d88d82 commit efe7621

File tree

3 files changed

+46
-34
lines changed

3 files changed

+46
-34
lines changed

.github/workflows/deploy.yml

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,29 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Get Node.js
13-
uses: actions/setup-node@v1
14-
with:
15-
node-version: '16'
16-
- run: npm ci
17-
- name: Deploy infrastructure stack
18-
run: npm run deploy:dev
19-
env:
20-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
21-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
22-
OUTDATED_WEBHOOK: ${{ secrets.OUTDATED_WEBHOOK }}
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
16+
- uses: pnpm/action-setup@v4
17+
name: Install pnpm
18+
with:
19+
version: 10
20+
run_install: false
21+
22+
- name: Install Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: 'pnpm'
27+
28+
- name: Install dependencies
29+
run: pnpm install
30+
31+
- name: Deploy infrastructure stack
32+
run: pnpm run deploy:dev
33+
env:
34+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
35+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
36+
OUTDATED_WEBHOOK: ${{ secrets.OUTDATED_WEBHOOK }}

package.json

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
"fillOld": "set AWS_REGION='eu-central-1' && set tableName='prod-stablecoins-table' && npx ts-node src/cli/fillOld.ts",
2020
"fillLast": "export AWS_REGION='eu-central-1' && export tableName='prod-stablecoins-table' && npx ts-node src/cli/fillLast.ts"
2121
},
22-
"devDependencies": {
23-
},
2422
"overrides": {
2523
"ansi-regex": "5.0.1",
2624
"mocha": {
@@ -34,41 +32,41 @@
3432
"@babel/core": "^7.13.10",
3533
"@babel/preset-env": "^7.13.12",
3634
"@babel/preset-typescript": "^7.13.0",
35+
"@defillama/sdk": "^5.0.177",
36+
"@project-serum/anchor": "^0.26.0",
37+
"@project-serum/serum": "^0.13.33",
38+
"@sentry/serverless": "^6.2.3",
39+
"@sentry/tracing": "^6.2.3",
40+
"@solana/web3.js": "^1.30.2",
41+
"@supercharge/promise-pool": "^3.2.0",
3742
"@types/aws-lambda": "^8.10.72",
3843
"@types/node": "^22.5.4",
44+
"async-retry": "^1.3.1",
45+
"aws-sdk": "^2.869.0",
46+
"axios": "^1.7.7",
3947
"babel-core": "^6.26.3",
4048
"babel-jest": "^29.7.0",
4149
"babel-loader": "^9.1.3",
50+
"bignumber.js": "^9.0.1",
51+
"dotenv": "^16.4.5",
4252
"esbuild": "^0.14.27",
53+
"hi-base32": "^0.5.1",
54+
"hyper-express": "^6.16.3",
4355
"jest": "^29.7.0",
4456
"jest-dynalite": "^3.3.1",
57+
"js-sha512": "^0.9.0",
4558
"limiter": "2.1.0",
4659
"nodemon": "^2.0.7",
60+
"pact-lang-api": "^4.3.5",
61+
"pm2": "^5.4.0",
4762
"serverless": "^2.31.0",
4863
"serverless-esbuild": "^1.26.1",
4964
"serverless-prune-plugin": "^2.0.2",
5065
"serverless-webpack-fixed": "^5.3.3",
66+
"starknet": "^6.0.0",
5167
"ts-jest": "^29.2.5",
52-
"typescript": "^5.6.2",
53-
"aws-sdk": "^2.869.0",
5468
"ts-loader": "^9.5.1",
5569
"ts-node": "^10.9.2",
56-
"starknet": "^6.0.0",
57-
"@defillama/sdk": "^5.0.44",
58-
"@project-serum/anchor": "^0.26.0",
59-
"@project-serum/serum": "^0.13.33",
60-
"@sentry/serverless": "^6.2.3",
61-
"@sentry/tracing": "^6.2.3",
62-
"@solana/web3.js": "^1.30.2",
63-
"@supercharge/promise-pool": "^3.2.0",
64-
"async-retry": "^1.3.1",
65-
"axios": "^1.7.7",
66-
"bignumber.js": "^9.0.1",
67-
"dotenv": "^16.4.5",
68-
"hi-base32": "^0.5.1",
69-
"hyper-express": "^6.16.3",
70-
"js-sha512": "^0.9.0",
71-
"pact-lang-api": "^4.3.5",
72-
"pm2": "^5.4.0"
70+
"typescript": "^5.6.2"
7371
}
7472
}

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const baseIconsUrl = "https://icons.llama.fi";
1+
export const baseIconsUrl = "https://icons.llama.fi";

0 commit comments

Comments
 (0)