Skip to content

Merge pull request #1 from im-no-body/add-workflows #2

Merge pull request #1 from im-no-body/add-workflows

Merge pull request #1 from im-no-body/add-workflows #2

Workflow file for this run

name: Build
on:
push:
branches:
- dev
pull_request:
branches:
- main
- dev
types:
- opened
- synchronize # Run the workflow when new commits are pushed to the PR
- reopened
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm ci
- name: Build project
env:
REACT_APP_CHATBOT_API_URL: ${{ env.CHATBOT_API_URL }}
run: npm run build