Skip to content

chore(deps): update all non-major dependencies #615

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #615

name: Build and Deploy CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
branches: [master]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ (github.event_name == 'workflow_dispatch') || (contains(github.event.head_commit.message, 'chore(release)')) || (github.event_name == 'pull_request') }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/gallium"
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn build
env:
GOOGLE_PRIVATE_KEY: ${{secrets.GOOGLE_PRIVATE_KEY}}
GOOGLE_SERVICE_ACCOUNT_EMAIL: ${{secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL}}
NODEJS_HELPERS: 0
- name: Deploy to Vercel
uses: BetaHuhn/deploy-to-vercel-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}