chore(release): 3.3.0-alpha.14 #307
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 and deploy func-incoming-responses to Function App (Production) | |
on: | |
push: | |
tags: ['v*.*.*'] | |
workflow_dispatch: | |
env: | |
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'apps/func-incoming-responses' | |
NODE_VERSION: '20.18.1' | |
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.14.3 | |
- name: 'Resolve Project Dependencies Using Npm' | |
shell: bash | |
run: | | |
pnpm dlx [email protected] prune --scope @klicker-uzh/func-incoming-responses | |
pushd out | |
echo "node-linker=hoisted" > .npmrc | |
pnpm install --frozen-lockfile --ignore-scripts --strict-peer-dependencies | |
pnpm run build | |
mv apps/func-incoming-responses apps/func | |
mv apps/func/host.json . | |
popd | |
- name: 'Run Azure Functions Action' | |
uses: Azure/functions-action@v1 | |
id: fa | |
with: | |
app-name: 'klickeruzhprod-responses' | |
package: out | |
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_0119F976602A404FB7A34036973BB491 }} |