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.
This commit is contained in:
parent
2b687a31ea
commit
1b0899b469
9 changed files with 101 additions and 145 deletions
21
.github/actions/setup/action.yml
vendored
Normal file
21
.github/actions/setup/action.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue