From 97e3ae27b9def2bcdb429801c14a3a490d03320d Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Thu, 23 Nov 2023 10:08:23 +0100 Subject: [PATCH] Make yarn install a separate step and ensure to freeze the lock file --- .github/workflows/sync-labels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index ec07fd6..11d8934 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -36,9 +36,10 @@ jobs: with: cache: yarn cache-dependency-path: element-meta/yarn.lock + - name: Install Deps + run: "yarn install --frozen-lockfile" - name: "Sync labels" run: | - yarn install yarn sync-labels --labels .github/labels.yml $(echo -e "${{ inputs.LABELS }}" | xargs -r printf -- '--labels \"../%s\"\n' | xargs echo) working-directory: element-meta env: