Skip to content

update deps and add tests for useVisibleTask (#69) #34

update deps and add tests for useVisibleTask (#69)

update deps and add tests for useVisibleTask (#69) #34

Workflow file for this run

name: "Deploy (Production)"
on:
push:
branches:
- main
workflow_dispatch:
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install
run: |
cd ${{ github.workspace }}
yarn install --immutable
- name: Lint
run: |
yarn lint-all
- name: Deploy
run: |
yarn vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
yarn vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
yarn vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}