Skip to content

chore: add @types/react-dom to dependencies and move dotenv back to d… #103

chore: add @types/react-dom to dependencies and move dotenv back to d…

chore: add @types/react-dom to dependencies and move dotenv back to d… #103

Workflow file for this run

name: Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.PROJECT_ID }}
LEFTHOOK: 0
on:
push:
branches:
- main
jobs:
Workflow:
runs-on: ubuntu-latest
steps:
# config_actions:
- name: Checkout Repository
uses: actions/checkout@v3
# setup_node:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
# install_dependencies:
- name: Install Dependencies
run: yarn install
# typecheck:
- name: Run Typescript Check
run: yarn typecheck
# lint:
- name: Run Lint
run: yarn lint
# test_ci:
- name: Run Tests
run: yarn test:ci --reporter=verbose
# build_deploy:
- name: Install Vercel CLI
run: yarn global add vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
# release:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release