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

22 lines
530 B
YAML

name: Setup
description: Set up Baby Buddy environment and dependencies.
inputs:
python-version:
description: 'What Python version to use.'
required: false
default: '3.x'
runs:
using: 'composite'
steps:
- uses: actions/setup-python@v4
id: setup-python
with:
python-version: ${{ inputs.python-version }}
cache: 'pipenv'
- name: Install Python dependencies
shell: bash
run: pipenv install --dev
- uses: actions/setup-node@v3
with:
node-version: 16