Skip to content

[PM-7918] Design Feedback and other cleanup #461

[PM-7918] Design Feedback and other cleanup

[PM-7918] Design Feedback and other cleanup #461

Workflow file for this run

---
name: Build API/client files
on:
workflow_dispatch:
pull_request:
branches: ["main"]
paths-ignore:
- ".github/workflows/**"
push:
branches: ["main"]
paths-ignore:
- ".github/workflows/**"
defaults:
run:
shell: bash
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
cache: "npm"
cache-dependency-path: "**/package-lock.json"
node-version: "20"
- name: Clean install dependencies and build
run: |
npm ci
npm run build
- name: Upload build as artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: always()
with:
name: build-files
path: |
./api/build
./client/build