Skip to content

Commit

Permalink
Remove unnecessary orb.
Browse files Browse the repository at this point in the history
  • Loading branch information
timdawborn committed Oct 12, 2023
1 parent c9d232d commit 35c9f79
Showing 1 changed file with 28 additions and 15 deletions.
43 changes: 28 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
version: 2.1

orbs:
node: circleci/node@1.1.6

executors:
node14:
docker:
- image: cimg/node:14.17
resource_class: medium
working_directory: ~/repo

node16:
docker:
- image: cimg/node:16.20.1
resource_class: medium
working_directory: ~/repo

node18:
docker:
- image: cimg/node:18.18.1
resource_class: medium
working_directory: ~/repo

node20:
docker:
- image: cimg/node:20.4.0
resource_class: medium
working_directory: ~/repo

commands:
Expand All @@ -29,22 +45,19 @@ commands:
run-tests:
description: Run the unit tests
steps:
- node/with-splitting:
glob-path: lib/**/*.spec.ts
timings-type: classname
steps:
- run:
name: Run tests
command: yarn ci:test $TESTFILES
environment:
JEST_JUNIT_OUTPUT_DIR: ./test-reports/jest
JEST_JUNIT_OUTPUT_NAME: results.xml
JEST_JUNIT_CLASSNAME: "{filepath}"
- run:
name: Run the tests in parallel.
environment:
JEST_JUNIT_OUTPUT_DIR: ./test-reports/jest
JEST_JUNIT_OUTPUT_NAME: results.xml
JEST_JUNIT_CLASSNAME: "{filepath}"
command: |
TESTFILES=$(circleci tests glob lib/**/*.spec.ts | circleci tests split --split-by=name)
yarn ci:test $TESTFILE
jobs:
test-node14:
executor: node14
resource_class: xlarge
parallelism: 8
steps:
- prepare-repository
Expand Down

0 comments on commit 35c9f79

Please sign in to comment.