Skip to content

Commit 6a37399

Browse files
authored
Merge pull request #79 from PMDevSolutions/16-add-ci-matrix-testing-for-nodejs-20-and-22
feat: add CI matrix testing for Node.js 20 and 22
2 parents efe2800 + 8130c97 commit 6a37399

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,29 @@ jobs:
178178
echo "$errors template validation failures"
179179
exit $errors
180180
181+
node-compat:
182+
name: Node.js ${{ matrix.node-version }} Compatibility
183+
runs-on: ubuntu-latest
184+
timeout-minutes: 5
185+
strategy:
186+
matrix:
187+
node-version: [20, 22]
188+
steps:
189+
- uses: actions/checkout@v4
190+
191+
- uses: actions/setup-node@v4
192+
with:
193+
node-version: ${{ matrix.node-version }}
194+
195+
- run: corepack enable
196+
- run: pnpm install
197+
198+
- name: Verify installation
199+
run: |
200+
echo "Node.js version: $(node --version)"
201+
echo "pnpm version: $(pnpm --version)"
202+
pnpm ls --depth 0
203+
181204
check-links:
182205
name: Check Markdown Links
183206
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)