Skip to content

Commit

Permalink
chore: update ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Feb 15, 2021
1 parent 81fba50 commit 9f33b8d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .circleci/config.yml
Expand Up @@ -56,11 +56,7 @@ jobs:
- restore_cache:
keys:
- dist-{{ .Revision }}
# semantic-release requires node >= 8.3 and the latest version available at circle-ci is node 7.10
# they recommend using npx to install node 8 and then use it to run semantic-release (https://github.com/semantic-release/semantic-release/blob/caribou/docs/support/node-version.md)
# since node 7.10 comes with npm 4 and npx is only available on npm >= 5 it has to be installed first, and run from the local node_modules
# TODO: we should replace the following line with just "npm run semantic-release" once there's a node:8 image available at circle-ci
- run: npm install --save-dev npx && node_modules/npx/index.js -p node@8 -c "npx semantic-release"
- run: npm run semantic-release

workflows:
version: 2
Expand Down

0 comments on commit 9f33b8d

Please sign in to comment.