From d6a779fe873ca6d795275a1f9b3cc1f315343279 Mon Sep 17 00:00:00 2001 From: Thomas Belin Date: Mon, 25 Mar 2024 16:52:57 +0100 Subject: [PATCH] variable since parameter for CI --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72fcda3e5043..4ae4f2e990cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: run: yarn --immutable - name: Lint - run: yarn lint + run: yarn lint ${{github.base_ref}} - name: Test run: yarn test --coverage --coverage-reporters=lcov --detectOpenHandles=false diff --git a/package.json b/package.json index 73dcb6eb4c15..371a75e99551 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "scripts": { "postinstall": "husky install", - "lint": "yarn workspaces foreach --since=dev run lint" + "lint": "yarn workspaces foreach --since=${0} run lint" }, "prettier": "@wireapp/prettier-config" }