diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 2ed79b1..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,35 +0,0 @@ -version: 2.1 - -parameters: - node_docker_image: - type: string - default: cimg/node:22.14.0-browsers - -jobs: - test_without_db: - working_directory: ~/repo - docker: - - image: << parameters.node_docker_image >> - steps: - - checkout - - run: yarn - - run: yarn build - - run: yarn test - - test_with_db: - working_directory: ~/repo - docker: - - image: << parameters.node_docker_image >> - - image: circleci/dynamodb - steps: - - checkout - - run: yarn - - run: yarn build - - run: yarn test - -workflows: - version: 2 - build_and_test: - jobs: - - test_with_db - - test_without_db diff --git a/package.json b/package.json index 5032ba3..3152988 100644 --- a/package.json +++ b/package.json @@ -31,14 +31,6 @@ "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" }, - "lint-staged": { - "*.{html,md,yml}": [ - "prettier --write" - ], - "*.{ts,js,json}": [ - "eslint --fix" - ] - }, "babel": { "extends": "@shelf/babel-config/backend" }, @@ -77,5 +69,13 @@ }, "publishConfig": { "access": "public" + }, + "lint-staged": { + "*.{html,md,yml}": [ + "prettier --write" + ], + "*.{ts,js,json}": [ + "eslint --fix" + ] } }