mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 04:03:06 +00:00
31 lines
766 B
YAML
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
|