GitHub Actions not using the correct Node.js version in CI despite setup
I'm trying to set up a GitHub Actions workflow to run my Node.js application, but it seems to be using an older version of Node.js than specified in my configuration. My `.github/workflows/ci.yml` file looks like this: ```yaml name: CI on: push: branches: - main jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Set up Node.js uses: actions/setup-node@v2 with: node-version: '14.x' - name: Install dependencies run: npm install - name: Run tests run: npm test ``` Despite specifying `14.x`, the logs show that it's using Node.js version `12.22.1`. I even verified thereโs no global Node.js version defined in my repository settings. The only other place where a version could be set is in my `package.json`, which looks like this: ```json { "engines": { "node": ">=14.0.0" }, "dependencies": { "express": "^4.17.1" } } ``` I've tried clearing the build cache, but it didn't resolve the scenario. I also ensured that there are no other workflows that might override this configuration. Iโm not sure why the workflow isnโt picking up the correct Node.js version. Is there a step Iโm missing or a better way to enforce the Node.js version in GitHub Actions? Any insights would be greatly appreciated! This issue appeared after updating to Yaml 3.9.