Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Jul 4, 2024
1 parent 318415f commit 8216d33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:

jobs:
master:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track master origin/master
- run: git branch --track main origin/main
if: ${{ github.event_name == 'pull_request' }}

- run: pnpm nx affected -t lint test build --parallel=3

0 comments on commit 8216d33

Please sign in to comment.