Skip to content

Commit 345cf7d

Browse files
Activate a repository test line for node 20
1 parent 4e6f724 commit 345cf7d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/TestPWTCommands.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Script tests
22

33
on:
44
push:
5-
branches:
5+
branches:
66
- master
77
paths:
88
- 'pnpm-lock.yaml'
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
2626
matrix:
27-
node: [16, 18]
27+
node: [16, 18, 20]
2828
os: [windows-latest, ubuntu-latest]
2929
steps:
3030
- name: "Checking-out code"
@@ -42,6 +42,11 @@ jobs:
4242
if: matrix.node == 18
4343
with:
4444
version: 10
45+
- name: Setup pnpm
46+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda #v4.1.0
47+
if: matrix.node == 20
48+
with:
49+
version: 10
4550

4651
- name: "Defining node version"
4752
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0

0 commit comments

Comments
 (0)