Commit 125b4b30 authored by Guillaume Grossetie's avatar Guillaume Grossetie 🎧
Browse files

add continuous integration (linter)

parent cd6d9d7a
Pipeline #2243 passed with stage
in 37 seconds
variables:
GIT_DEPTH: '5'
DEFAULT_NODE_VERSION: '16'
LINUX_DISTRO: bullseye
NPM_CONFIG_CACHE: &npm_cache_dir .cache/npm
NPM_CONFIG_FUND: 'false'
NPM_CONFIG_PREFER_OFFLINE: 'true'
default:
image: node:$DEFAULT_NODE_VERSION-$LINUX_DISTRO
interruptible: true
lint:
before_script:
- node -p '`${os.type()} ${os.release()}\nNode.js ${process.version}`'
- npm ci --quiet
cache:
key: npm-cache
paths:
- *npm_cache_dir
policy: pull
script:
- npm run lint
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment