ReactJs 19 #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |