youtube-mp3-downloader
Version:
Downloads Youtube videos (in parallel, as streams), encodes the audio data as mp3 and stores them in a defineable location
30 lines (26 loc) • 576 B
YAML
version: 2
defaults:
working_directory: ~/repo
docker:
- image: circleci/node:8.9.4
jobs:
deploy:
<<: *defaults
steps:
- checkout
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Publish package
command: npm publish
workflows:
version: 2
test-deploy:
jobs:
- deploy:
filters:
tags:
only: /^v*/
branches:
only: master