GitHub Actions scenarios to install specific Node.js version using setup-node action
I've spent hours debugging this and I'm collaborating on a project where I'm working on a project and hit a roadblock... I'm trying to set up a GitHub Actions workflow to build my Node.js project, and I'm working with an scenario when attempting to install a specific version of Node.js using the `actions/setup-node` action. My workflow file looks like this: ```yaml name: Node.js CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup Node.js uses: actions/setup-node@v2 with: node-version: '14.17.0' - name: Install Dependencies run: npm install - name: Run Tests run: npm test ``` However, I keep receiving the following behavior in the Actions log: ``` behavior: Unable to find Node.js version "14.17.0" in the cache. ``` I've confirmed that version `14.17.0` is a valid version available in the Node.js distribution, and I even checked the official Node.js [release page](https://nodejs.org/en/download/releases/) to ensure it's listed. I’ve tried adding `cache: 'npm'` to the setup-node step as well, but that didn't resolve the scenario. I also attempted to use a different version, like `16.x`, but I encountered the same question. I’ve checked my repository settings, and everything seems to be in order. What could be causing this behavior, and how can I successfully set up my GitHub Actions workflow to use the correct Node.js version? How would you solve this? What's the correct way to implement this? This is my first time working with Yaml stable. Am I missing something obvious? I'm working with Yaml in a Docker container on Ubuntu 20.04. I'm on Linux using the latest version of Yaml. Any advice would be much appreciated.