gamebrary/.circleci/config.yml
Roman Cervantes 0626d4239e test 123
2019-05-21 15:14:24 -07:00

31 lines
766 B
YAML

version: 2.1
workflows:
version: 2.1
build-and-deploy:
jobs:
- release:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*/
jobs:
release:
docker:
- image: circleci/node:8.11.3-browsers
steps:
- checkout
- run:
name: Set and authenticate with registry test
command: |
echo "${NPMRC}" | base64 --decode > ~/.npmrc
- run: yarn install --pure-lockfile --no-progress --non-interactive
- run:
name: "Lint"
command: |
echo "Running linter"
git config --global user.email "romancm@gmail.com"
git config --global user.name "romancm"
yarn lint