Skip to content

Merge pull request #116 from sanwebinfo/renovate/major-react-monorepo #122

Merge pull request #116 from sanwebinfo/renovate/major-react-monorepo

Merge pull request #116 from sanwebinfo/renovate/major-react-monorepo #122

Workflow file for this run

name: vercel-deploy
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Cache node modules
uses: actions/[email protected]
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- uses: actions/[email protected]
with:
node-version: '18.x'
- name: install vercel CLI
run: yarn global add vercel
- name: Deploy Project Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}