From 3fccce26d06aae4e5c91a36dd15f1a838d75ce89 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Sat, 1 Mar 2025 09:18:18 +0700 Subject: [PATCH] GitHub Actions: test in various node versions --- .github/workflows/test-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index feb5206..fee2ed4 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -11,12 +11,14 @@ jobs: strategy: matrix: arch: [amd64, ppc64le] + node-version: ['10.x', 'lts/*', 'node'] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 'lts/*' + node-version: ${{ matrix.node-version }} - name: Run the test run: | npm ci + npx playwright install --with-deps npm test