Skip to content

Commit

Permalink
Merge pull request #82 from embroider-build/split-lint-and-test
Browse files Browse the repository at this point in the history
Split the lint and test jobs so we can see tests running during draft work
  • Loading branch information
NullVoxPopuli authored Sep 25, 2024
2 parents 3e4aa11 + 9bcf05f commit b5f3abd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- cron: '0 0 * * *'

jobs:
test:
name: Lint & Test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,6 +22,18 @@ jobs:
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm test
- uses: sarisia/actions-status-discord@v1
if: ${{ failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
Expand Down

0 comments on commit b5f3abd

Please sign in to comment.