Skip to content

Commit f986e07

Browse files
committed
chore: update CI
1 parent d45a73e commit f986e07

3 files changed

Lines changed: 21 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ jobs:
1313
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
1414
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-node@v1
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 14
19+
node-version: 18
2020
- name: Extract branch name
2121
shell: bash
22-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2322
id: extract_branch
23+
run: |
24+
branch=$(echo ${GITHUB_REF#refs/heads/})
25+
echo "branch=$branch" >> $GITHUB_OUTPUT
2426
- name: save env variable
2527
id: saveEnv
2628
run: echo "NEXT_PUBLIC_GIT_REF=${{ steps.extract_branch.outputs.branch }}" > .env
@@ -47,7 +49,9 @@ jobs:
4749
prodRun="--prod"
4850
fi
4951
echo $prodRun
50-
echo "::set-output name=DEPLOYMENT_URL::$(vercel --confirm -t $VERCEL_TOKEN --scope $VERCEL_ORG_ID $prodRun)"
52+
deployment_url=$(vercel --confirm -t $VERCEL_TOKEN --scope $VERCEL_ORG_ID $prodRun)
53+
echo "DEPLOYMENT_URL=$deployment_url" >> $GITHUB_OUTPUT
54+
echo "Deployment URL: $deployment_url"
5155
- name: "Set alias"
5256
run: |
5357
echo ${{steps.alias.outputs.prop}}

.github/workflows/pull-requests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ jobs:
88
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
99
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v1
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 14
14+
node-version: 18
1515
- name: "Install vercel"
1616
run: npm i -g vercel
1717
- name: "Deploy to vercel"
1818
id: deploy
1919
run: |
20-
prodRun=""
21-
echo "::set-output name=DEPLOYMENT_URL::$(vercel --confirm -t $VERCEL_TOKEN --scope $VERCEL_ORG_ID)"
20+
deployment_url=$(vercel --confirm -t $VERCEL_TOKEN --scope $VERCEL_ORG_ID)
21+
echo "DEPLOYMENT_URL=$deployment_url" >> $GITHUB_OUTPUT
22+
echo "Deployment URL: $deployment_url"
2223
- name: "comment deployment url"
2324
uses: thollander/actions-comment-pull-request@v1
2425
with:

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "stader",
33
"version": "0.1.0",
44
"private": true,
5+
"engines": {
6+
"node": ">=18.0.0",
7+
"npm": ">=9.0.0"
8+
},
59
"scripts": {
610
"dev": "next dev",
711
"build": "next build",
@@ -14,8 +18,10 @@
1418
},
1519
"dependencies": {
1620
"@bladelabs/blade-web3.js": "0.9.9",
21+
"@hashgraph/hedera-wallet-connect": "^2.0.4",
1722
"@hashgraph/hethers": "^1.0.3",
1823
"@hashgraph/sdk": "^2.15.0",
24+
"@walletconnect/modal": "^2.7.0",
1925
"@material-ui/core": "^4.12.3",
2026
"@material-ui/icons": "^4.11.2",
2127
"@material-ui/lab": "^4.0.0-alpha.60",

0 commit comments

Comments
 (0)