diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 134bac34dd..2a141bdff8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,18 +74,10 @@ jobs: run: | ! grep -R 'describe.only(\|it.only(' test - # Our projects use .nvmrc files to specify the node version to use. We can read and then output it as the result - # this step. Subsequent steps can then access the value - - name: Read Node version - run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" - # Give the step an ID to make it easier to refer to - id: nvm - - # Gets the version to use by referring to the previous step - name: Install Node uses: actions/setup-node@v3 with: - node-version: "${{ steps.nvm.outputs.NVMRC }}" + node-version-file: ".nvmrc" # Speeds up workflows by reading the node modules from cache. Obviously you need to run it at least once, and the # cache will be updated should the package-lock.json file change diff --git a/.nvmrc b/.nvmrc index b6a7d89c68..209e3ef4b6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20