@@ -14,44 +14,24 @@ jobs:
1414 runs-on : ${{ matrix.os }}
1515 strategy :
1616 matrix :
17- os : [ubuntu-latest]
18- node_version : [14, 16, 18, 20]
19- include :
20- - os : macos-latest
21- node_version : 16
22- - os : macos-latest
23- node_version : 18
24- - os : macos-latest
25- node_version : 20
26- - os : windows-latest
27- node_version : 16
28- - os : windows-latest
29- node_version : 18
30- - os : windows-latest
31- node_version : 20
17+ os : [ubuntu-latest, macos-latest, windows-latest]
18+ node_version : [18, 20]
3219 fail-fast : false
3320 timeout-minutes : 10
3421
3522 name : ' Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
3623 steps :
3724 - name : Checkout
38- uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
25+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3926 with :
4027 # Required for docs/versions tests
4128 fetch-depth : 0
4229
43- - name : Install pnpm (node 14, pnpm 7)
44- if : matrix.node_version == 14
45- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
46- with :
47- version : 7
48-
4930 - name : Install pnpm
50- if : matrix.node_version != 14
51- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
31+ uses : pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
5232
5333 - name : Set node version to ${{ matrix.node_version }}
54- uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
34+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
5535 with :
5636 node-version : ${{ matrix.node_version }}
5737 cache : ' pnpm'
@@ -90,16 +70,16 @@ jobs:
9070 run : date
9171
9272 - name : Checkout
93- uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
73+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
9474 with :
9575 # Required for docs/versions tests
9676 fetch-depth : 0
9777
9878 - name : Install pnpm
99- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4 .0
79+ uses : pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0 .0
10080
10181 - name : Set node version to ${{ matrix.node_version }}
102- uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
82+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
10383 with :
10484 node-version : ${{ matrix.node_version }}
10585 cache : ' pnpm'
@@ -118,16 +98,16 @@ jobs:
11898 e2e-test :
11999 runs-on : ubuntu-latest
120100 container :
121- image : cypress/browsers:node-20.6.1-chrome-116.0.5845.187-1-ff-117.0-edge-116.0.1938.76-1
101+ image : cypress/browsers:node-20.6.1-chrome-116.0.5845.187-1-ff-117.0-edge-116.0.1938.76-1@sha256:cd909915e1a0aa24dbd3eaf95feb2a7be6cf9961fa425ffa06cd5a44d211451c
122102 options : --user 1001
123103 timeout-minutes : 10
124104 name : ' E2E Doc Test: node-20, ubuntu-latest'
125105 steps :
126106 - name : Checkout
127- uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
107+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
128108
129109 - name : Install pnpm
130- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4 .0
110+ uses : pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0 .0
131111
132112 - name : Install deps
133113 run : pnpm install
@@ -145,15 +125,15 @@ jobs:
145125 name : ' Lint: node-20, ubuntu-latest'
146126 steps :
147127 - name : Checkout
148- uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
128+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
149129 with :
150130 fetch-depth : 0
151131
152132 - name : Install pnpm
153- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4 .0
133+ uses : pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0 .0
154134
155135 - name : Set node version to 20
156- uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
136+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
157137 with :
158138 node-version : 20
159139 cache : ' pnpm'
@@ -175,15 +155,15 @@ jobs:
175155 name : ' TS-Check: node-20, ubuntu-latest'
176156 steps :
177157 - name : Checkout
178- uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
158+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
179159 with :
180160 fetch-depth : 0
181161
182162 - name : Install pnpm
183- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4 .0
163+ uses : pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0 .0
184164
185165 - name : Set node version to 20
186- uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
166+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
187167 with :
188168 node-version : 20
189169 cache : ' pnpm'
@@ -193,6 +173,9 @@ jobs:
193173 env :
194174 CYPRESS_INSTALL_BINARY : 0
195175
176+ - name : Build types
177+ run : pnpm run build:types
178+
196179 - name : Check scripts
197180 run : pnpm run ts-check
198181
@@ -202,15 +185,15 @@ jobs:
202185 name : ' Codecov: node-20, ubuntu-latest'
203186 steps :
204187 - name : Checkout
205- uses : actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # v4.0.0
188+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
206189 with :
207190 fetch-depth : 0
208191
209192 - name : Install pnpm
210- uses : pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4 .0
193+ uses : pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0 .0
211194
212195 - name : Set node version to 20
213- uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
196+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
214197 with :
215198 node-version : 20
216199 cache : ' pnpm'
@@ -227,7 +210,7 @@ jobs:
227210 run : pnpm vitest run --coverage
228211
229212 - name : Upload coverage to Codecov
230- uses : codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0 .1
213+ uses : codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 # v4.1 .1
231214 with :
232215 token : ${{ secrets.CODECOV_TOKEN }}
233216 fail_ci_if_error : true
0 commit comments