@mhy/config
Version:
> This documentation is not complete. It's in progress and it's a BETA version. Use the tool at your own risk.
32 lines (28 loc) • 717 B
YAML
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
branches:
only:
- master
docker:
# specify the version you desire here
- image: circleci/node:latest
working_directory: ~/repo
steps:
- checkout
- run:
name: Install dependencies
working_directory: ~/repo
command: |
yarn global add @mhy/mhy
npm i
- deploy:
name: Trigger deployment
working_directory: ~/repo
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
npm pub