mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +00:00
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# Use the latest 2.1 version of CircleCI pipeline processing engine, see https://circleci.com/docs/2.0/configuration-reference/
|
|
version: 2.1
|
|
|
|
# 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/
|
|
workflows:
|
|
# Name the workflow "Welcome"
|
|
Welcome:
|
|
# Run the welcome/run job in its own container
|
|
jobs:
|
|
- 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
|