diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 64bb870..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,33 +0,0 @@ -orbs: - node: circleci/node@7.0.0 - aws-cli: circleci/aws-cli@4.2.3 - -version: 2.1 - -parameters: - node_version: - type: string - default: '22.13.0' - -commands: - install_deps: - steps: - - node/install-packages: - pkg-manager: yarn - cache-version: v1-all - cache-only-lockfile: true - app-dir: ~/repo - override-ci-command: yarn install --pure-lockfile --no-progress - -jobs: - build: - executor: - name: node/default - tag: << pipeline.parameters.node_version >> - working_directory: ~/repo - steps: - - checkout - - install_deps - - run: yarn test - - run: yarn type-check - - run: yarn lint:ci diff --git a/package.json b/package.json index 3cc7eb5..1539ad7 100644 --- a/package.json +++ b/package.json @@ -32,14 +32,6 @@ "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" }, - "lint-staged": { - "*.{html,json,md,yml}": [ - "prettier --write --ignore-path=./.eslintignore" - ], - "*.{ts,js}": [ - "eslint --fix" - ] - }, "prettier": "@shelf/prettier-config", "dependencies": { "is-image": "4.0.0", @@ -66,5 +58,13 @@ }, "publishConfig": { "access": "public" + }, + "lint-staged": { + "*.{html,json,md,yml}": [ + "prettier --write --ignore-path=./.eslintignore" + ], + "*.{ts,js}": [ + "eslint --fix" + ] } }