fix: install netlify nextjs plugin manually

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-04-13 15:32:40 +02:00
parent 3e0874dfb0
commit 391559bec4
3 changed files with 15 additions and 2 deletions

View file

@ -28,6 +28,7 @@ permissions:
env:
NETLIFY_VERSION: 13.2.2
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
NODEJS_VERSION: 18
defaults:
@ -89,7 +90,7 @@ jobs:
ref: ${{ github.head_ref }}
- name: Install netlify CLI
run: "npm install -g netlify-cli@${{ env.NETLIFY_VERSION }}"
run: "yarn add --dev netlify-cli@${{ env.NETLIFY_VERSION }} @netlify/plugin-nextjs@${{ env.NETLIFY_NEXTJS_PLUGIN_VERSION }}"
- name: Run netlify CLI
env: