Skip to content

Commit 11a30b3

Browse files
authored
Update nuxtjs.yml
1 parent f787be8 commit 11a30b3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/nuxtjs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ jobs:
7070
${{ runner.os }}-nuxt-build-
7171
- name: Install dependencies
7272
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
73+
- name: Install specific sharp binding for Linux
74+
run: npm install --platform=linux --arch=x64 sharp || true
75+
if: steps.detect-package-manager.outputs.manager == 'npm'
7376
- name: Static HTML export with Nuxt
7477
run: ${{ steps.detect-package-manager.outputs.manager }} run generate
7578
- name: Upload artifact

0 commit comments

Comments
 (0)