Skip to content

chore: update dependencies, start resolving type issues, incorporate … #439

chore: update dependencies, start resolving type issues, incorporate …

chore: update dependencies, start resolving type issues, incorporate … #439

name: Build and deploy func-response-processor to Function App (QA)
on:
push:
branches:
- 'v3'
- 'v3*'
paths:
- 'apps/func-response-processor/**'
- '.github/workflows/v3_klickeruzhprod-response-processor**'
workflow_dispatch:
env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'apps/func-response-processor'
NODE_VERSION: '20.17.0'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v2
- name: Setup Node ${{ env.NODE_VERSION }} Environment
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- uses: pnpm/action-setup@v2
with:
version: 9.10.0
- name: 'Resolve Project Dependencies Using Npm'
shell: bash
run: |
pnpm dlx turbo@2.1.0 prune --scope @klicker-uzh/func-response-processor
pushd out
echo "node-linker=hoisted" > .npmrc
pnpm install --frozen-lockfile --ignore-scripts --strict-peer-dependencies
pnpm run build
mv apps/func-response-processor apps/func
mv apps/func/host.json .
popd
- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'klickeruzhprod-response-processor'
slot-name: 'qa'
package: out
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_36EB12B3E64C4803BA587F03A5F2E446 }}