Skip to content

ReactJs 19

ReactJs 19 #83

name: Build UI ReactJs
on:
push:
paths:
- "src/UIs/reactjs/**"
pull_request:
paths:
- "src/UIs/reactjs/**"
env:
WORKING_DIRECTORY: ./src/UIs/reactjs/
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "22"
- run: npm install --legacy-peer-deps
working-directory: ./src/UIs/reactjs/
- run: CI=false npm run build # Treating warnings as errors because process.env.CI = true.
working-directory: ./src/UIs/reactjs/
- name: Upload ReactJs
uses: actions/upload-artifact@v4
with:
name: ReactJs
path: ./src/UIs/reactjs/dist