From f486b7025b591d296531f9d0158f65c22795b08f Mon Sep 17 00:00:00 2001 From: "tubone(Yu Otsubo)" Date: Sat, 16 Mar 2024 02:47:12 +0900 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a40f323971..8e6203f6ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -237,7 +237,11 @@ jobs: NETLIFY_ENV: production PERCY_TOKEN: ${{secrets.PERCY_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: yarn install --frozen-lockfile + run: | + yarn install --frozen-lockfile + cd functions/src + npm install --os=linux --cpu=x64 --prefix ./ sharp + ls node_modules/ - name: yarn build env: GATSBY_GITHUB_CLIENT_SECRET: ${{secrets.GATSBY_GITHUB_CLIENT_SECRET}}