diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1fdb2bd9..392465cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,14 +12,10 @@ jobs: - name: Checkout commit uses: actions/checkout@v4 - - name: Read .nvmrc - run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT - id: nvm - - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: "${{ steps.nvm.outputs.NVMRC }}" + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index d9289897..922f10a1 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.15.1 +20.x