mithril-vndb/.github/actions/setup/action.yml
Claudia Meadows 1b0899b469
Migrate to Node 20, clean up workflows (#2902)
Tests still appear to fail per #2898. Unfortunately, I need actions/runner#2347 to ignore the test failures properly - I need them to be warnings, not hard errors.
2024-09-23 04:54:05 -07:00

21 lines
627 B
YAML

# In the future, I'd like to fold this into its own action under the Mithril.js
# org and include `actions/checkout` as well. It'd simplify maintenance a bit
# and I could reuse it across multiple repos.
name: Setup CI context
description: Sets up repo and Node context and installs packages
inputs:
# See supported Node.js release schedule here:
# https://github.com/nodejs/Release
node-version:
default: 20
description: The Node version to use
runs:
using: composite
steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
- run: npm ci
shell: bash