Skip to content

Bump cookie and express in /client (#244) #692

Bump cookie and express in /client (#244)

Bump cookie and express in /client (#244) #692

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-24.04
steps:
- name: Checkout repo
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Node
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
cache: "npm"
cache-dependency-path: "**/package-lock.json"
node-version: "20"
- name: Clean install dependencies and build
env:
TEST_WEB_HOST: "${{ secrets.TEST_WEB_HOST || 'https://localhost' }}"
run: |
npm ci
npm run build
- name: Upload build as artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: always()
with:
name: build-files
path: |
api/build
api/package-lock.json
api/package.json
client/build
client/package-lock.json
client/package.json
package-lock.json
package.json