Skip to content

Commit

Permalink
chore(CI): run lint and test:spec before build
Browse files Browse the repository at this point in the history
  • Loading branch information
dgonzalezr committed Oct 9, 2024
1 parent 57ea88b commit fc7c1eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ jobs:
- run:
name: 🧾 NX report
command: npx nx report
- run:
name: ⏳ Build Libraries
command: npx nx affected -t build --exclude='*,!tag:publishable' --parallel=3 --base=$NX_BASE --head=$NX_HEAD
- run:
name: 🩺 Run Linters
command: npx nx affected -t lint --exclude='*,!tag:publishable' --parallel=3 --base=$NX_BASE --head=$NX_HEAD
- run:
name: 🧰 Run Unit Tests
command: npx nx affected -t test --exclude='*,!tag:core' --parallel=3 --base=$NX_BASE --head=$NX_HEAD --ci --runInBand
- run:
name: ⏳ Build Libraries
command: npx nx affected -t build --exclude='*,!tag:publishable' --parallel=3 --base=$NX_BASE --head=$NX_HEAD
- run:
name: 🧪 Run E2E Tests
command: npx nx affected -t e2e --exclude='*,!tag:core' --parallel=3 --base=$NX_BASE --head=$NX_HEAD --ci --code-coverage --runInBand
Expand Down
1 change: 0 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"cache": true
},
"test": {
"dependsOn": [{ "target": "build", "projects": "beeq" }],
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
"cache": true
},
Expand Down

0 comments on commit fc7c1eb

Please sign in to comment.