Skip to content

Commit

Permalink
Add installCommand to vercel.json to ensure package.json deps are ins…
Browse files Browse the repository at this point in the history
…talled (#272)

## Problem

The latest e2e Edge CI run tried to deploy the intended app to Vercel,
but failed to find a `NextJS` version installed. I believe we have to
install this via adding a `installCommand` field to the `vercel.json` we
create in the action.

## Solution

Add `installCommand` field. This should install all deps within the
project dir outlined in `package.json`.

## Type of Change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
- [x] Infrastructure change (CI configs, etc)
- [ ] Non-code change (docs, etc)
- [ ] None of the above: (explain here)
  • Loading branch information
aulorbe authored Aug 28, 2024
1 parent 2a20691 commit 52ac7e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/e2e-testing/edge/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ runs:
"enabled": false
},
"buildCommand": "next build",
"installCommand": "npm install"
"framework": "nextjs",
"functions": {
"src/app/**/*.{ts,tsx}": {
Expand Down

0 comments on commit 52ac7e7

Please sign in to comment.