Skip to content

Commit 6fcd518

Browse files
committed
ci: Add new CI as alternative Runtimes
Signed-off-by: Jefferson <[email protected]> ci: Add new CI as alternative Runtimes
1 parent 43aa205 commit 6fcd518

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/ci-nsolid.yml renamed to .github/workflows/ci-alternative-runtime.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci NSolid
1+
name: ci Alternative Runtimes
22

33
on:
44
push:
@@ -29,17 +29,19 @@ jobs:
2929
node-version: [18, 20]
3030
os: [macos-latest, ubuntu-latest, windows-latest]
3131
include:
32-
- nsolid-version: 5
32+
- runtime: nsolid
3333
node-version: 18
34-
- nsolid-version: 5
34+
nsolid-version: 5
35+
- runtime: nsolid
3536
node-version: 20
36-
37+
nsolid-version: 5
3738
steps:
3839
- uses: actions/checkout@v4
3940
with:
4041
persist-credentials: false
4142

4243
- uses: nodesource/setup-nsolid@v1
44+
if: ${{ matrix.runtime == 'nsolid' }}
4345
with:
4446
node-version: ${{ matrix.node-version }}
4547
nsolid-version: ${{ matrix.nsolid-version }}

.github/workflows/integration-nsolid.yml renamed to .github/workflows/integration-alternative-runtimes.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: integration NSolid
1+
name: integration Alternative Runtimes
22

33
on:
44
push:
@@ -24,19 +24,23 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [ubuntu-latest]
27+
runtime: [nsolid]
2728
node-version: [18, 20]
2829
pnpm-version: [8]
2930
include:
3031
- nsolid-version: 5
3132
node-version: 18
33+
runtime: nsolid
3234
- nsolid-version: 5
3335
node-version: 20
36+
runtime: nsolid
3437
steps:
3538
- uses: actions/checkout@v4
3639
with:
3740
persist-credentials: false
3841

3942
- uses: nodesource/setup-nsolid@v1
43+
if: ${{ matrix.runtime == 'nsolid' }}
4044
with:
4145
node-version: ${{ matrix.node-version }}
4246
nsolid-version: ${{ matrix.nsolid-version }}

0 commit comments

Comments
 (0)