-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure pnpm is available when running vercel build
- Loading branch information
1 parent
1bcdcf5
commit a2bd089
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,15 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Install Vercel CLI | ||
run: npm install --global vercel@latest | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
- name: Pull Vercel Environment Information | ||
run: vercel pull --yes --environment=preview --token=${{ secrets.TURBO_TOKEN }} | ||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
run_install: true | ||
- name: Build Project Artifacts | ||
run: vercel build --token=${{ secrets.TURBO_TOKEN }} | ||
- name: Deploy Project Artifacts to Vercel | ||
|