From 1bb1db913f2f68c89cdd4a256b67e1af81a0b4bf Mon Sep 17 00:00:00 2001 From: vladokuskov Date: Sat, 4 May 2024 11:59:20 +0300 Subject: [PATCH] 13 Updated ci/cd --- .github/workflows/auto.yml | 17 +++++++++++++++++ .github/workflows/prod.yml | 17 +++++++++++++++++ .github/workflows/staging.yml | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/.github/workflows/auto.yml b/.github/workflows/auto.yml index a16939b..592252e 100644 --- a/.github/workflows/auto.yml +++ b/.github/workflows/auto.yml @@ -5,6 +5,23 @@ on: pull_request: jobs: + inspection: + name: Run inspection 🧪 + runs-on: ubuntu-latest + + steps: + - name: Checkout repository 🔎 + uses: actions/checkout@v3 + + - name: Install dependencies 📦 + run: yarn install + + - name: Lint code ✍️️ + run: yarn lint️ + + - name: Run tests ✅ + run: yarn test + build: name: Build image 🛠 runs-on: ubuntu-latest diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 7e141af..95572f5 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -4,6 +4,23 @@ on: workflow_dispatch: jobs: + inspection: + name: Run inspection 🧪 + runs-on: ubuntu-latest + + steps: + - name: Checkout repository 🔎 + uses: actions/checkout@v3 + + - name: Install dependencies 📦 + run: yarn install + + - name: Lint code ✍️️ + run: yarn lint️ + + - name: Run tests ✅ + run: yarn test + build: name: Build and publish image 🛠️ runs-on: ubuntu-latest diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 7168460..eb62572 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -4,6 +4,23 @@ on: workflow_dispatch: jobs: + inspection: + name: Run inspection 🧪 + runs-on: ubuntu-latest + + steps: + - name: Checkout repository 🔎 + uses: actions/checkout@v3 + + - name: Install dependencies 📦 + run: yarn install + + - name: Lint code ✍️️ + run: yarn lint️ + + - name: Run tests ✅ + run: yarn test + build: name: Build and publish image 🛠️ runs-on: ubuntu-latest