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.
21 lines
627 B
YAML
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
|