mybuddy/.github/actions/setup/action.yml

29 lines
746 B
YAML
Raw Permalink Normal View History

2022-06-03 04:34:04 +00:00
name: Setup
description: Set up Baby Buddy environment and dependencies.
inputs:
python-version:
description: "What Python version to use."
2022-06-03 04:34:04 +00:00
required: false
default: "3.x"
2022-06-03 04:34:04 +00:00
runs:
using: "composite"
2022-06-03 04:34:04 +00:00
steps:
2022-06-17 01:32:34 +00:00
- name: Install Pipenv
shell: bash
run: pipx install pipenv
2024-01-28 03:51:01 +00:00
- uses: actions/setup-python@v5
2022-06-03 04:34:04 +00:00
id: setup-python
with:
python-version: ${{ inputs.python-version }}
cache: "pipenv"
cache-dependency-path: "requirements.txt"
2022-06-03 04:34:04 +00:00
- name: Install Python dependencies
shell: bash
run: pipenv install --dev
- name: Print installed dependency versions
shell: bash
run: pipenv graph
2024-01-28 03:51:01 +00:00
- uses: actions/setup-node@v4
2022-06-03 04:34:04 +00:00
with:
2023-04-15 02:58:28 +00:00
node-version: 18