From 4db6a46c8ae43bb42c0f6574e5203283fa131a42 Mon Sep 17 00:00:00 2001 From: Elad Mordechai Mizrahi Date: Sat, 23 Sep 2023 16:43:28 +0300 Subject: [PATCH] chore: add git actions workflow --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..96ac359 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Build & test affected + +on: + pull_request: + branches: [ "main" ] + +jobs: + status-checks: + name: Build & test affected + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build & test affected + run: yarn lerna run build,lint --since=origin/main \ No newline at end of file