mirror of
https://github.com/actions/setup-node.git
synced 2026-03-01 06:41:05 +08:00
ci(versions.yml): update actions and reduce duplicated tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
b669b88857
commit
f3b3cab24b
19
.github/workflows/versions.yml
vendored
19
.github/workflows/versions.yml
vendored
@ -173,9 +173,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- name: Setup node from node version file
|
- name: Setup node from node version file
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
@ -183,21 +183,6 @@ jobs:
|
|||||||
- name: Verify node
|
- name: Verify node
|
||||||
run: __tests__/verify-node.sh 20
|
run: __tests__/verify-node.sh 20
|
||||||
|
|
||||||
version-file-dev-engines-array:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Setup node from node version file
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
node-version-file: '__tests__/data/package-dev-engines-array.json'
|
|
||||||
- name: Verify node
|
|
||||||
run: __tests__/verify-node.sh 20
|
|
||||||
|
|
||||||
version-file-volta:
|
version-file-volta:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"engines": {
|
|
||||||
"node": "^19"
|
|
||||||
},
|
|
||||||
"devEngines": {
|
|
||||||
"runtime": [
|
|
||||||
{
|
|
||||||
"name": "bun",
|
|
||||||
"version": "^1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "node",
|
|
||||||
"version": "^20"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user