(01)Add .gitlab-ci.yml
No install needed — add pipeline file to your GitLab repo.
1cat > .gitlab-ci.yml << 'EOF'2stages: [build, test, deploy]3build:4 stage: build5 script: [npm ci, npm run build]6test:7 stage: test8 script: [npm test]9EOF10git add .gitlab-ci.yml && git commit -m "Add CI" && git push