From 44d3ed72b05ce5e05360fe0e7412062bf4f7b236 Mon Sep 17 00:00:00 2001 From: Donkie Date: Tue, 23 Jan 2024 22:01:46 +0100 Subject: [PATCH] CI job now builds a requirement.txt into the spoolman.zip --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1419cd..894e942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,17 @@ jobs: with: node-version: '20' - - name: Install dependencies + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.9" + + - name: Export requirements + run: | + pip install pdm + pdm export -o requirements.txt --without-hashes > requirements.txt + + - name: Install client dependencies run: | cd client npm ci