From c1c0f8d3bde6628f3d90925a1d961da746ea1b32 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Sun, 28 Jan 2024 12:14:26 -0600 Subject: [PATCH] fix: ci don't run yarn install twice --- .devcontainer/devcontainer.json | 2 +- .github/workflows/publish.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0618503..ae8567f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -37,7 +37,7 @@ }, // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "yarn install" + "postCreateCommand": "yarn install --frozen-lockfile" // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0578336..a115e17 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -31,7 +31,6 @@ jobs: cacheFrom: ghcr.io/example/example-devcontainer push: never runCmd: | - yarn install --frozen-lockfile yarn tsc yarn build:all