Update GitHub Actions workflow for Vercel deployment #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Vercel Production Deployment | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Install dependencies | |
| run: npm ci || npm install | |
| - name: Build project | |
| run: npm run build | |
| env: | |
| NEXT_PUBLIC_ARC_CHAIN_ID: "5042002" | |
| NEXT_PUBLIC_ARC_RPC_URL: "https://rpc.testnet.arcscan.app" |