diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 316b4bfd8..fff53a070 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,15 +6,17 @@ jobs: tests-and-coverage: name: Run tests & report coverage runs-on: ubuntu-latest + env: + NODE_VERSION: 20.9.0 steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 20.9.0 + - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v4 with: - node-version: 20.9.0 + node-version: ${{ env.NODE_VERSION }} cache: "npm" - name: Cache npm dependencies