fix(deps): update dependency square to v37 #5
Workflow file for this run
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
name: vercel deployment | |
on: | |
pull_request: | |
types: [closed] | |
env: | |
FORCE_COLOR: 3 | |
VERCEL_TOKEN_ID: ${{ secrets.TURBO_TOKEN }} | |
VERCEL_ORG_ID: ${{ vars.TURBO_TEAM }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
jobs: | |
deploy: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./tooling/github/setup | |
- name: Install vercel cli | |
run: pnpm add -g vercel@latest | |
- name: Pull vercel env | |
run: vercel pull --yes --environment=production --token ${{ secrets.TURBO_TOKEN}} | |
- name: Build Project Artifacts | |
run: vercel build --prod --token=${{ secrets.TURBO_TOKEN }} | |
- name: Deploy Project Artifacts to Vercel | |
run: vercel deploy --prebuilt --prod --token=${{ secrets.TURBO_TOKEN }} | |
dontDeploy: | |
if: github.event.pull_request.merged == false | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo PR #${{ github.event.number }} has been closed without being merged |