Skip to content

Commit cb956cb

Browse files
[fix] fixed node version and some clean up
1 parent 31ed1f0 commit cb956cb

5 files changed

Lines changed: 35 additions & 115 deletions

File tree

.github/workflows/docker-deploy.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

.github/workflows/preview.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Vercel Preview Deployment
2+
env:
3+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches-ignore:
9+
- main
10+
jobs:
11+
Deploy-Preview:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Install Vercel CLI
16+
run: npm install --global vercel@latest
17+
- name: Pull Vercel Environment Information
18+
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
19+
- name: Build Project Artifacts
20+
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
21+
- name: Deploy Project Artifacts to Vercel
22+
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "ieee-rvce.github.io",
2+
"name": "ieee-rvce.org",
33
"version": "0.1.0",
44
"private": true,
5-
"homepage": "https://ieee-rvce.github.io/",
5+
"homepage": "https://ieee-rvce.org/#",
66
"dependencies": {
77
"@material-ui/core": "^4.11.0",
88
"@material-ui/icons": "^4.9.1",
@@ -51,8 +51,11 @@
5151
]
5252
},
5353
"devDependencies": {
54-
"gh-pages": "^3.1.0",
5554
"husky": "^8.0.3",
5655
"prettier": "^2.8.4"
56+
},
57+
"engines": {
58+
"npm": ">=8.0.0",
59+
"node": ">=18.0.0"
5760
}
58-
}
61+
}

src/components/CostFragment.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function CostFragment({ cost }) {
2929
style={{ userSelect: 'none' }}
3030
align="right"
3131
>
32-
{isDollars ? '$' + (costsNumber/exchangeRate).toFixed(2) : '₹' + costsNumber }
32+
{isDollars ? '$' + (costsNumber / exchangeRate).toFixed(2) : '₹' + costsNumber}
3333
</TableCell>
3434
);
3535
}

src/data/membershipCosts.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ export const costs = [
5050
// notes: 'Free for new members!',
5151
},
5252

53-
{ name: 'Power and Energy Society(PES)', newCost: 47.5, renewalCost: 47.5},
53+
{ name: 'Power and Energy Society(PES)', newCost: 47.5, renewalCost: 47.5 },
54+
55+
{ name: ' Robotics and Automation Society(RAS)', newCost: 465, renewalCost: 465 },
56+
57+
{ name: 'Signal Processing Society(SPS)', newCost: 47.5, renewalCost: 47.5 },
5458

55-
{ name: ' Robotics and Automation Society(RAS)', newCost: 465, renewalCost: 465 },
56-
57-
{ name: 'Signal Processing Society(SPS)', newCost: 47.5, renewalCost: 47.5},
58-
5959
{ name: ' Affinity Group-SIGHT', newCost: 0, renewalCost: 0 },
6060

6161
{ name: 'Affinity Group-Women in Engineering(WIE)', newCost: 0, renewalCost: 0 },

0 commit comments

Comments
 (0)