Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
js-frontend-tutorial js-frontend-tutorial
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ci-general
  • js-frontend-tutorialjs-frontend-tutorial
  • Wiki
  • A sample project

A sample project · Changes

Page history
Update A sample project authored Jul 11, 2019 by Taras Gaidukov's avatar Taras Gaidukov
Hide whitespace changes
Inline Side-by-side
Showing with 5 additions and 1 deletion
+5 -1
  • A-sample-project.md A-sample-project.md +5 -1
  • No files found.
A-sample-project.md
View page @ 7b211c99
......@@ -9,6 +9,7 @@ index.html
<head>
<meta charset="utf-8">
<title>JS Frontend CI Tutorial</title>
<script src="js/sum.js"></script>
<script src="js/main.js"></script>
</head>
<body>
......@@ -27,12 +28,15 @@ index.html
</html>
```
js/main.js
js/sum.js
```
const sum = (a, b) => {
return a + b;
};
```
js/main.js
```
document.addEventListener('DOMContentLoaded', () => {
const btn = document.querySelector('#sum_button');
const input1 = document.querySelector('#input_number_1');
......
Clone repository
  • A sample project
  • Build docker image
  • Configure GitLab CI
  • Configure e2e tests for gitlab runner
  • Configure e2e tests on local machine
  • Configure unit tests on local machine
  • Confirure unit tests for gitlab runner
  • Register gitlab runner
  • What is Continuous Integration
  • Home