Skip to content

Commit

Permalink
[ci] Optimize CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
swashata committed Sep 13, 2024
1 parent 86c4632 commit ec7bf9d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [ push, pull_request ]
on: [ push ]

jobs:
prettier:
Expand All @@ -22,10 +22,14 @@ jobs:
run: npm run lint

test:
name: Tests
name: Build & Tests
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Build
run: npm run build:lib
- name: Run tests
run: npm run build:lib && npm test
run: npm test

0 comments on commit ec7bf9d

Please sign in to comment.