Skip to content

Commit

Permalink
create separate job for shared checks
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Apr 22, 2024
1 parent c96b816 commit 7df6f57
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 7df6f57

Please sign in to comment.