Skip to content

Commit 9e61031

Browse files
authored
Merge pull request #69 from bigcommerce/DATA-12867
chore: DATA-12867 Upgrade node version
2 parents 9b6805f + 4f8957c commit 9e61031

5 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/validate-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
strategy:
1313
matrix:
14-
node-version: [18]
14+
node-version: [22]
1515
steps:
1616
- uses: actions/checkout@v3
1717

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ yarn-error.log*
4343
.sentryclirc
4444

4545
/public/tinymce/
46+
47+
.idea/

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ To run the app locally, follow these instructions:
4545

4646
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fbigcommerce%2Fai-app-foundation&env=CLIENT_ID,CLIENT_SECRET,APP_ORIGIN,AUTH_CALLBACK,JWT_KEY,FIRE_API_KEY,FIRE_DOMAIN,FIRE_PROJECT_ID,GOOGLE_API_KEY&envDescription=Doc%20for%20setting%20up%20ENV%20Variable&envLink=https%3A%2F%2Fdeveloper.bigcommerce.com%2Fapi-docs%2Fapps%2Ftutorials%2Fbuild-a-nextjs-sample-app%2Fstep-3-integrate%23set-up-firebase-database&project-name=ai-app-foundation&repository-name=ai-app-foundation)
4747

48+
## Testing on preview environment
49+
1. Create a draft app in [dev portal](https://build.bigcommerce.com/apps) and set callback URLs to point to https://ai-app-dev.vercel.app
50+
2. Update `CLIENT_ID` and `CLIENT_SECRET` **preview** env variables in vercel from the draft app
51+
3. Once the PR is created and/or any new commit is pushed, vercel will create a new deployment and will generate a dynamic link to the new version. Though, we need our changes to be reflected on the domain we specified in the draft app (https://ai-app-dev.vercel.app). In order to do that navigate to Vercel->Project settings->Domains and update this domain to observe changes from your PR branch.
52+
4. Once completed you should be able to install the draft app from CP->Apps->Develop page and test your changes
53+
4854
## Contributing
4955

5056
Please feel free to ask questions or raise issues in GitHub Issues/Discussions.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
]
2828
},
2929
"engines": {
30-
"node": "18.x"
30+
"node": "22.x"
3131
},
3232
"dependencies": {
3333
"@bigcommerce/big-design": "^0.36.2",

0 commit comments

Comments
 (0)