Configure for GitLab Pages

New script in package.json:

"buildProd": "ng build --base-href=/project-name/ --output-path=public",

Add new .gitlab-ci.yml in root directory:

image: node:14.17.6
pages:
  cache:
    paths:
      - node_modules/
  script:
    - npm install -g @angular/[email protected]
    - npm install
    - npm run buildProd
  artifacts:
    paths:
      - public
  only:
    - main
    - pages