2019-05-21 22:17:01 +00:00
|
|
|
# Use the latest 2.1 version of CircleCI pipeline processing engine, see https://circleci.com/docs/2.0/configuration-reference/
|
2019-05-21 21:47:14 +00:00
|
|
|
version: 2.1
|
2019-05-21 22:13:17 +00:00
|
|
|
|
2019-05-21 22:17:01 +00:00
|
|
|
# Use a package of configuration called an orb, see https://circleci.com/docs/2.0/orb-intro/
|
|
|
|
orbs:
|
|
|
|
# Declare a dependency on the welcome-orb
|
|
|
|
welcome: circleci/welcome-orb@0.3.1
|
|
|
|
|
|
|
|
# Orchestrate or schedule a set of jobs, see https://circleci.com/docs/2.0/workflows/
|
2019-05-21 22:13:17 +00:00
|
|
|
workflows:
|
2019-05-21 22:17:01 +00:00
|
|
|
# Name the workflow "Welcome"
|
|
|
|
Welcome:
|
|
|
|
# Run the welcome/run job in its own container
|
2019-05-21 22:13:17 +00:00
|
|
|
jobs:
|
2019-05-21 22:17:51 +00:00
|
|
|
- welcome/run
|
|
|
|
|
|
|
|
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
|