From 7df6f57798a056af106432e7cdea283ec6902687 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Mon, 22 Apr 2024 14:54:18 -0400 Subject: [PATCH] create separate job for shared checks --- .github/workflows/ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4987ef317..fea66f732 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,22 @@ on: types: [opened, synchronize, reopened, ready_for_review] jobs: + all: + runs-on: ubuntu-latest + timeout-minutes: 10 + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version-file: '.nvmrc' + - name: Install deps + run: npm ci + - name: Check formatting + run: npm run lint:prettier + backend: runs-on: ubuntu-latest timeout-minutes: 10 @@ -49,7 +65,5 @@ jobs: run: npm run build:translations - name: Build Intl polyfills run: npm run build:intl-polyfills - - name: Check formatting - run: npm run lint:prettier - name: Run unit tests run: npm test