From 26989d640b12dd0dd7950cac0bc1431bfd59b013 Mon Sep 17 00:00:00 2001 From: ondrosh Date: Tue, 22 Oct 2024 08:19:56 -0400 Subject: [PATCH 1/7] chore: Add release and pull request CI workflows --- .circleci/config.yml | 66 -- .github/workflows/pull_request.yml | 87 ++ .github/workflows/release.yml | 153 ++++ .husky/commit-msg | 1 + .versionrc | 9 + CODEOWNERS | 2 +- commitlint.config.js | 23 + package.json | 8 +- yarn.lock | 1186 +++++++++++++++++++++++++++- 9 files changed, 1452 insertions(+), 83 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/pull_request.yml create mode 100644 .github/workflows/release.yml create mode 100644 .husky/commit-msg create mode 100644 .versionrc create mode 100644 commitlint.config.js diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 4c8529eda..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,66 +0,0 @@ -version: 2.1 - -defaults: &defaults - working_directory: ~/feathery-react - docker: - - image: cimg/node:14.17 - -jobs: - # Checkout the repository - # Pull node_modules from the CircleCI cache or install directly - # Persist all the files for later use - setup: - <<: *defaults - steps: - - checkout - - restore_cache: - keys: - - package-dependencies-v2-{{ checksum "yarn.lock" }} - - run: yarn install - - save_cache: - paths: - - node_modules - key: package-dependencies-v2-{{ checksum "yarn.lock" }} - - persist_to_workspace: - root: ~/feathery-react - paths: . - - # Execute unit tests - test: - <<: *defaults - steps: - - attach_workspace: - at: . - - run: yarn lint - - run: yarn test - - # Build the Node-ready package - build-node: - <<: *defaults - steps: - - attach_workspace: - at: . - - run: yarn build:node - - # Build the