diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 0f40200b..e9b61214 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -51,7 +51,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "16" + node-version-file: 'package.json' cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v3 diff --git a/.github/workflows/reviewdog.yaml b/.github/workflows/reviewdog.yaml index c1c39d46..6f7b940d 100644 --- a/.github/workflows/reviewdog.yaml +++ b/.github/workflows/reviewdog.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version-file: 'package.json' - uses: reviewdog/action-eslint@v1 with: reporter: github-check