Skip to content

Commit

Permalink
chore(ci): Don't build design system before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TSenter committed Jul 9, 2024
1 parent d63666c commit 1dab7fb
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,51 @@ concurrency:

jobs:
test:
name: "Tests"
name: 'Tests'
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint

- name: Build design system
run: pnpm build
working-directory: packages/design-system

- name: Run Tests
run: pnpm test

floating:
name: "Floating Dependencies"
name: 'Floating Dependencies'
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Install Dependencies
run: pnpm install --no-lockfile

- name: Build design system
run: pnpm build
working-directory: packages/design-system

- name: Run Tests
run: pnpm test

Expand All @@ -81,20 +80,19 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Build design system
run: pnpm build
working-directory: packages/design-system

- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
working-directory: packages/ember-test-app

0 comments on commit 1dab7fb

Please sign in to comment.