File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,38 @@ jobs:
109
109
110
110
strategy :
111
111
matrix :
112
+ runtime : [node, nsolid]
112
113
node-version : [14, 16, 18, 20]
113
114
os : [macos-latest, ubuntu-latest, windows-latest]
115
+ include :
116
+ - runtime : nsolid
117
+ nsolid-version : 5
114
118
exclude :
115
- # excludes node 14 on Windows
116
119
- os : windows-latest
120
+ runtime : node
117
121
node-version : 14
118
-
122
+ - runtime : nsolid
123
+ node-version : 14
124
+ - runtime : nsolid
125
+ node-version : 16
119
126
steps :
120
127
- uses : actions/checkout@v4
121
128
with :
122
129
persist-credentials : false
123
130
124
131
- name : Use Node.js
132
+ if : ${{ matrix.runtime == 'node'}}
125
133
uses : actions/setup-node@v4
126
134
with :
127
135
node-version : ${{ matrix.node-version }}
128
136
cache : ' npm'
129
137
cache-dependency-path : package.json
138
+ - uses : actions/checkout@v4
139
+ - uses : nodesource/setup-nsolid@v1
140
+ if : ${{ matrix.runtime == 'nsolid'}}
141
+ with :
142
+ node-version : ${{ matrix.node-version }}
143
+ nsolid-version : ${{ matrix.nsolid-version }}
130
144
131
145
- name : Install
132
146
run : |
Original file line number Diff line number Diff line change @@ -23,25 +23,39 @@ jobs:
23
23
24
24
strategy :
25
25
matrix :
26
+ runtime : [node, nsolid]
26
27
node-version : [16, 18, 20]
27
28
os : [ubuntu-latest]
28
29
pnpm-version : [8]
29
- # pnpm@8 does not support Node.js 14 so include it separately
30
30
include :
31
- - node-version : 14
31
+ - runtime : nsolid
32
+ nsolid-version : 5
33
+ - runtime : node
34
+ node-version : 14
32
35
os : ubuntu-latest
33
36
pnpm-version : 7
37
+ exclude :
38
+ - runtime : nsolid
39
+ node-version : 16
40
+
34
41
35
42
steps :
36
43
- uses : actions/checkout@v4
37
44
with :
38
45
persist-credentials : false
39
46
40
47
- name : Use Node.js
48
+ if : ${{ matrix.runtime == 'node'}}
41
49
uses : actions/setup-node@v4
42
50
with :
43
51
node-version : ${{ matrix.node-version }}
44
52
53
+ - uses : nodesource/setup-nsolid@v1
54
+ if : ${{ matrix.runtime == 'nsolid'}}
55
+ with :
56
+ node-version : ${{ matrix.node-version }}
57
+ nsolid-version : ${{ matrix.nsolid-version }}
58
+
45
59
- name : Install Pnpm
46
60
uses : pnpm/action-setup@v2
47
61
with :
You can’t perform that action at this time.
0 commit comments