diff --git a/.circleci/config.yml b/.circleci/config.yml index f6429990..065554f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,117 +11,11 @@ jobs: name: Run build command: npm install - run: - name: Verify build - command: echo "Build completed successfully!" - test-v10: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "10.24" - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" - test-v12: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "12.22" - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" - test-v14: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "14.21" - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" - test-v16: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "16.20" - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" - test-v18: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "18.20" - - run: - name: Run build - command: npm install + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" - test-v20: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "20.12" - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" - test-v22: - docker: - - image: cimg/base:stable - steps: - - checkout - - node/install: - node-version: "22.0" - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" -workflows: - build: - jobs: -version: 2.1 -orbs: - node: circleci/node@5.2 -jobs: - test-v8: - docker: - - image: circleci/node:8 - steps: - - checkout - - run: - name: Run build - command: npm install - - run: - name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v10: docker: - image: cimg/base:stable @@ -132,9 +26,12 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v12: docker: - image: cimg/base:stable @@ -145,9 +42,12 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v14: docker: - image: cimg/base:stable @@ -158,9 +58,12 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v16: docker: - image: cimg/base:stable @@ -171,9 +74,12 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v18: docker: - image: cimg/base:stable @@ -184,9 +90,12 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v20: docker: - image: cimg/base:stable @@ -197,9 +106,12 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" test-v22: docker: - image: cimg/base:stable @@ -210,11 +122,14 @@ jobs: - run: name: Run build command: npm install + - run: + name: Run test + command: npm start - run: name: Verify build - command: echo "Build completed successfully!" + command: echo "Build and test completed successfully!" workflows: - build: + build_and_test: jobs: - test-v8 - test-v10