diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 930b237..3a1650e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,9 @@ on: [push, pull_request] jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + node: [18, 20] steps: - name: Checkout uses: actions/checkout@v4 @@ -11,7 +14,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci - name: Validate package-lock.json changes diff --git a/.github/workflows/lockfileversion-check.yml b/.github/workflows/lockfileversion-check.yml index 916dcb4..6ac6655 100644 --- a/.github/workflows/lockfileversion-check.yml +++ b/.github/workflows/lockfileversion-check.yml @@ -10,4 +10,4 @@ on: jobs: version-check: - uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master + uses: openedx/.github/.github/workflows/lockfile-check-v20.yml@master