What is gitlab CI, how to use it?

CI: continues integration

For the GitLab CI, it’s nothing but docker + shell command

For example, the .gitlab-ci.yml:

image: node:lts

pages:
  script:
    - npm i
    - npm run build
    - rm -rf public
    - mv build public
  artifacts:
    paths:
      - public

https://gist.github.com/kud/c43c76dff0499f9867afe9a073082484#gistcomment-1960438