i'm really new with this, when I started the project, I put this code the .gitlab-ci.yml, and work fine, but today I tried to merge and the pipeline never end, always still in pending.
any idea?
one week ago work
file: .gitlab-ci.yml
image: node:10
before_script:
- apt update
- apt-get install -y nodejs
- npm install -y npm@6.11.0
- nodejs -v
- npm -v
- ls -la -F
- yarn
# CI/CD Pipeline
stages:
- lint
lint:
stage: 'lint'
script:
- yarn
- yarn lint
# Setup Node.js cache for the runners
cache:
paths:
- node_modules/