Skip to content

SF-3426 Auto focus note dialog input when it opens (#4059) #13786

SF-3426 Auto focus note dialog input when it opens (#4059)

SF-3426 Auto focus note dialog input when it opens (#4059) #13786

# This workflow will do a clean install of node dependencies, do an Angular production build across different
# versions of node and OSes.
# See: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Angular Production Build
permissions: {}
on:
push:
branches: [master, develop]
pull_request:
merge_group:
jobs:
build:
name: node ${{matrix.node_version }} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node_version: ["22.13.0"]
npm_version: ["11.11.0"]
pnpm_version: ["11.10.0"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: "Deps: pnpm"
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
version: ${{matrix.pnpm_version}}
- name: Use Node.js ${{matrix.node_version}}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{matrix.node_version}}
cache: "pnpm"
cache-dependency-path: |
src/SIL.XForge.Scripture/ClientApp/pnpm-lock.yaml
src/RealtimeServer/pnpm-lock.yaml
- name: Upgrade npm
env:
NPM_VERSION: ${{matrix.npm_version}}
run: |
set -xueo pipefail
npm install --global npm@${NPM_VERSION}
- name: Build Realtime server dependencies for Angular
run: cd src/RealtimeServer && (pnpm ci || (sleep 3m && pnpm ci))
- name: Angular Frontend Production Build
run: cd src/SIL.XForge.Scripture/ClientApp && (pnpm ci || (sleep 3m && pnpm ci)) && pnpm run build