diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index ff51499..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,34 +0,0 @@ -version: 2.1 - -orbs: - node: circleci/node@7.0.0 - -parameters: - node_version: - type: string - default: '22.13.0' - -commands: - install_deps: - steps: - - node/install-packages: - pkg-manager: yarn - cache-version: v2-all - cache-only-lockfile: true - app-dir: ~/repo - override-ci-command: yarn install --pure-lockfile --no-progress - - run: sudo apt-get -q update && sudo apt-get -y install openjdk-17-jdk - -jobs: - build: - executor: - name: node/default - tag: << pipeline.parameters.node_version >> - working_directory: ~/repo - steps: - - checkout - - install_deps - - run: yarn build - - run: yarn lint:ci - - run: yarn type-check - - run: yarn test diff --git a/package.json b/package.json index f11d3a8..8c2bfb3 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": { - "*.{ts,js,}": [ - "eslint --fix" - ], - "*.{html,json,md,yml}": [ - "prettier --write" - ] - }, "prettier": "@shelf/prettier-config", "jest": { "preset": "./jest-preset.js", @@ -72,5 +64,13 @@ }, "publishConfig": { "access": "public" + }, + "lint-staged": { + "*.{ts,js,}": [ + "eslint --fix" + ], + "*.{html,json,md,yml}": [ + "prettier --write" + ] } }