Skip to content

chore(deps): update all non-major dependencies #1730

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #1730

name: Auth function artifact
on:
push:
branches:
- "main"
paths:
- "server/**"
pull_request:
branches:
- "main"
paths:
- "server/**"
jobs:
auth-function-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Auth function zip
run: |
mkdir auth_function_packaging
rsync -r server/auth_function/* auth_function_packaging -F --exclude=requirements.txt --exclude=test --exclude=requirements-dev.txt
pip install -t auth_function_packaging -r server/auth_function/requirements.txt -r server/auth_function/requirements-dev.txt
cd auth_function_packaging
zip -r9 ../infrastructure/server/fam_auth_function.zip .
cd ..
rm -rf auth_function_packaging
- name: Auth function upload zip file artifact
uses: actions/upload-artifact@v3
with:
name: fam-auth-function-zip
path: ./infrastructure/server/fam_auth_function.zip
if-no-files-found: error