Align supported Node.js engines field with dependency requirements (#231)

This commit is contained in:
eric sciple
2025-12-05 15:28:10 -06:00
committed by GitHub
parent 7b9adb106e
commit 4429c41275
6 changed files with 14 additions and 10 deletions
+9 -5
View File
@@ -12,15 +12,19 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16.15
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 16.15
node-version: ${{ matrix.node-version }}
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- run: npm ci --engine-strict
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm run format-check -ws
@@ -33,10 +37,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js 16.15
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 16.15
node-version: 22.x
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
+1 -1
View File
@@ -69,7 +69,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22.x
cache: "npm"
scope: '@actions'