diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aaa1746bb..0dec9eaca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV - name: Install nodejs uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: ${{ env.NODE_VERSION }} - name: Install node dependencies run: npm ci --engine-strict