diff --git a/.gitpod.yml b/.gitpod.yml index 5bba2fa33..bc1562e79 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,8 +3,8 @@ ports: onOpen: open-preview tasks: - - init: cd plugins/gatsby-remark-gitpod && npm install - - init: yarn --network-timeout 100000 && yarn build + - init: cd plugins/gatsby-remark-gitpod && npm install --ignore-scripts + - init: yarn --network-timeout 100000 --ignore-scripts && yarn build command: yarn dev --host 0.0.0.0 vscode: diff --git a/package.json b/package.json index 5581d51cc..5d3d8f4cc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "main": "n/a", "scripts": { - "build": "cp -r src/docs/release-notes/* static/release-notes/ && gatsby build && npx netlify-lambda build src/functions", + "build": "cp -r src/docs/release-notes/* static/release-notes/ && gatsby build && yarn netlify-lambda build src/functions", "clean": "rimraf public", "deploy": "gatsby build --prefix-paths && gh-pages -d public", "dev": "env-cmd -f .env.development gatsby develop",