From 1a2a7ccca98f76fdc8b9ad2b3bad150a65011e2f Mon Sep 17 00:00:00 2001 From: Tyler Stewart Date: Fri, 18 May 2018 16:16:21 -0600 Subject: [PATCH] chore: update semantic-release --- .circleci/config.yml | 7 ++----- package.json | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a8dbf33..e46cadb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,12 +46,9 @@ jobs: - checkout - restore_cache: key: npm-install-{{ checksum "package.json" }} - - run: - name: Update NPM - command: npm install semantic-release@latest - deploy: name: Semantic Release - command: npm run semantic-release || true + command: npx semantic-release@15 workflows: version: 2 @@ -79,7 +76,7 @@ workflows: filters: branches: ignore: master - - lint: + - lint: requires: - build - test: diff --git a/package.json b/package.json index 683576c..76ccd5b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "test:watch": "npm run test -- -w", "lint": "eslint -c ./.config/eslintrc.json \"src/**/*.js\" \"test/**/*.js\" \"bin/**/*.js\"", "lint:fix": "eslint --fix -c ./.config/eslintrc.json \"src/**/*.js\" \"test/**/*.js\" \"bin/**/*.js\"", - "semantic-release": "semantic-release pre && npm publish && semantic-release post", "commitmsg": "validate-commit-msg" }, "release": { @@ -42,7 +41,7 @@ "husky": "^0.14.3", "mocha": "^4.0.1", "mock-stdin": "^0.3.1", - "semantic-release": "^8.2.0", + "semantic-release": "^15.4.1", "sinon": "^4.1.2", "validate-commit-msg": "^2.14.0" },