Skip to content

test: add test component #2

test: add test component

test: add test component #2

name: Deploy Preview
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.17.0'
- name: Install dependencies
run: npm install
- name: Build application
run: npm run build
- name: Deploy to Vercel
uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-args: '--prod'
working-directory: ./
github-token: ${{ secrets.GITHUB_TOKEN }}
scope: ruslanlukoanov0-gmailcom