From f2d98f1f8b10ee52d7cdb14ec9f5510273ce3c1f Mon Sep 17 00:00:00 2001 From: Pavel Murygin Date: Thu, 27 May 2021 21:14:03 +0300 Subject: [PATCH] Comment out failing step --- .circleci/config.yml | 50 ++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 357e598..5debb7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,33 +48,33 @@ jobs: rustup default nightly-2021-04-24-x86_64-unknown-linux-gnu cargo test --no-fail-fast --release --all-features -- --test-threads=1 - Build and publish npm: - docker: - - image: circleci/node:latest - resource_class: xlarge - steps: - - checkout - - attach_workspace: - at: ./npm - - run: | - yarn global add semver - PATH="$(yarn global bin):$PATH" + # Build and publish npm: + # docker: + # - image: circleci/node:latest + # resource_class: xlarge + # steps: + # - checkout + # - attach_workspace: + # at: ./npm + # - run: | + # yarn global add semver + # PATH="$(yarn global bin):$PATH" - # take npm version and increment it - PKG_NAME="$(cat package.json | jq -r .name)" - NPM_VERSION="$(yarn info --silent "$PKG_NAME" version || true)" - NEXT_NPM_VERSION="$(semver --increment patch "$NPM_VERSION" || true)" + # # take npm version and increment it + # PKG_NAME="$(cat package.json | jq -r .name)" + # NPM_VERSION="$(yarn info --silent "$PKG_NAME" version || true)" + # NEXT_NPM_VERSION="$(semver --increment patch "$NPM_VERSION" || true)" - # take local version - LOCAL_VERSION="$(cat package.json | jq -r .version)" + # # take local version + # LOCAL_VERSION="$(cat package.json | jq -r .version)" - # take maximum of the local and NEXT_NPM versions - MAX_VERSION="$(semver "$LOCAL_VERSION" "$NEXT_NPM_VERSION" "0.0.0" | tail -n1)" + # # take maximum of the local and NEXT_NPM versions + # MAX_VERSION="$(semver "$LOCAL_VERSION" "$NEXT_NPM_VERSION" "0.0.0" | tail -n1)" - yarn version --new-version ${MAX_VERSION} --no-git-tag-version + # yarn version --new-version ${MAX_VERSION} --no-git-tag-version - echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc - npm publish --access public + # echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc + # npm publish --access public workflows: version: 2 @@ -84,6 +84,6 @@ workflows: - Rust Tests: requires: - Build - - Build and publish npm: - requires: - - Rust Tests \ No newline at end of file + # - Build and publish npm: + # requires: + # - Rust Tests \ No newline at end of file