diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 2b54a0da..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,42 +0,0 @@ -version: 2.1 - -orbs: - node: circleci/node@7.1.0 - -parameters: - node_version: - type: string - default: '22.13.0' - -commands: - install_deps: - steps: - - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc - - node/install-pnpm: - version: 9.15.4 - - node/install-packages: - pkg-manager: pnpm - cache-only-lockfile: true - # Default command is 'pnpm install --frozen-lockfile'. - # 'pnpm install' fails with --frozen-lockfile option because it can't find the lockfile - override-ci-command: pnpm install - -jobs: - build_and_test: - executor: - name: node/default - tag: << pipeline.parameters.node_version >> - working_directory: ~/repo - steps: - - checkout - - install_deps - - run: pnpm run type-check - - run: pnpm run lint:ci - - run: pnpm run build - - run: pnpm run test - - run: pnpm run test:repl - -workflows: - build_test: - jobs: - - build_and_test diff --git a/package.json b/package.json index ac30eee1..a60e39e2 100644 --- a/package.json +++ b/package.json @@ -31,14 +31,6 @@ "type-check": "tsc --noEmit", "type-check:watch": "pnpm run type-check --watch" }, - "lint-staged": { - "*.{html,md,yml}": [ - "prettier --write" - ], - "*.{ts,js,json}": [ - "eslint --fix" - ] - }, "babel": { "extends": "@shelf/babel-config/backend" }, @@ -78,5 +70,13 @@ }, "publishConfig": { "access": "public" + }, + "lint-staged": { + "*.{html,md,yml}": [ + "prettier --write" + ], + "*.{ts,js,json}": [ + "eslint --fix" + ] } }