Skip to content

Commit be4e2af

Browse files
authored
chore: update Vercel CLI setup (#193)
This pull request contains couple of changes needed to bring back 'Deploy website' workflow to life.
1 parent 3c3f53a commit be4e2af

6 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/website-release-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
run: pnpm install --frozen-lockfile
3939

4040
- name: Pull Vercel environment information
41-
run: pnpm --filter voltra-website exec vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
41+
run: pnpm dlx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
4242

4343
- name: Build project artifacts
44-
run: pnpm --filter voltra-website exec vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
44+
run: pnpm dlx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
4545

4646
- name: Deploy prebuilt artifacts to production
47-
run: pnpm --filter voltra-website exec vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
47+
run: pnpm dlx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
"ts-node": "^10.9.0",
5656
"turbo": "^2.8.3",
5757
"typescript": "~5.9.2",
58-
"react-native-builder-bob": "^0.41.0"
58+
"react-native-builder-bob": "^0.41.0",
59+
"vercel": "54.2.0"
5960
},
6061
"overrides": {
6162
"react": "19.2.4",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ doc_build/
1313
!.vscode/extensions.json
1414
.idea
1515
.vercel
16+
.env*.local

website/docs/v2/android/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Add `@use-voltra/android-client` to your `app.json` or `app.config.js`:
3232
}
3333
```
3434

35-
See [Plugin Configuration](../api/plugin-configuration) for all options.
35+
See [Plugin Configuration](./api/plugin-configuration) for all options.
3636

3737
## 2. Prebuild for Android
3838

website/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"@shikijs/transformers": "^3.13.0"
1515
},
1616
"devDependencies": {
17-
"@types/node": "^18.11.17",
18-
"vercel": "54.2.0"
17+
"@types/node": "^18.11.17"
1918
}
2019
}

0 commit comments

Comments
 (0)