Skip to content

feat: add build ci

feat: add build ci #2

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Run build
run: yarn build
- name: Check if build succeeded
if: failure()
run: exit 1