mirror of
https://github.com/fluencelabs/registry.git
synced 2025-04-25 10:12:13 +00:00
Comment out failing step
This commit is contained in:
parent
8d5d85d4ee
commit
f2d98f1f8b
@ -48,33 +48,33 @@ jobs:
|
|||||||
rustup default nightly-2021-04-24-x86_64-unknown-linux-gnu
|
rustup default nightly-2021-04-24-x86_64-unknown-linux-gnu
|
||||||
cargo test --no-fail-fast --release --all-features -- --test-threads=1
|
cargo test --no-fail-fast --release --all-features -- --test-threads=1
|
||||||
|
|
||||||
Build and publish npm:
|
# Build and publish npm:
|
||||||
docker:
|
# docker:
|
||||||
- image: circleci/node:latest
|
# - image: circleci/node:latest
|
||||||
resource_class: xlarge
|
# resource_class: xlarge
|
||||||
steps:
|
# steps:
|
||||||
- checkout
|
# - checkout
|
||||||
- attach_workspace:
|
# - attach_workspace:
|
||||||
at: ./npm
|
# at: ./npm
|
||||||
- run: |
|
# - run: |
|
||||||
yarn global add semver
|
# yarn global add semver
|
||||||
PATH="$(yarn global bin):$PATH"
|
# PATH="$(yarn global bin):$PATH"
|
||||||
|
|
||||||
# take npm version and increment it
|
# # take npm version and increment it
|
||||||
PKG_NAME="$(cat package.json | jq -r .name)"
|
# PKG_NAME="$(cat package.json | jq -r .name)"
|
||||||
NPM_VERSION="$(yarn info --silent "$PKG_NAME" version || true)"
|
# NPM_VERSION="$(yarn info --silent "$PKG_NAME" version || true)"
|
||||||
NEXT_NPM_VERSION="$(semver --increment patch "$NPM_VERSION" || true)"
|
# NEXT_NPM_VERSION="$(semver --increment patch "$NPM_VERSION" || true)"
|
||||||
|
|
||||||
# take local version
|
# # take local version
|
||||||
LOCAL_VERSION="$(cat package.json | jq -r .version)"
|
# LOCAL_VERSION="$(cat package.json | jq -r .version)"
|
||||||
|
|
||||||
# take maximum of the local and NEXT_NPM versions
|
# # take maximum of the local and NEXT_NPM versions
|
||||||
MAX_VERSION="$(semver "$LOCAL_VERSION" "$NEXT_NPM_VERSION" "0.0.0" | tail -n1)"
|
# 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
|
# echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/repo/.npmrc
|
||||||
npm publish --access public
|
# npm publish --access public
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
@ -84,6 +84,6 @@ workflows:
|
|||||||
- Rust Tests:
|
- Rust Tests:
|
||||||
requires:
|
requires:
|
||||||
- Build
|
- Build
|
||||||
- Build and publish npm:
|
# - Build and publish npm:
|
||||||
requires:
|
# requires:
|
||||||
- Rust Tests
|
# - Rust Tests
|
Loading…
x
Reference in New Issue
Block a user