]> git.r.bdr.sh - rbdr/grafn/commitdiff
Add Gitlab CI config main
authorRuben Beltran del Rio <redacted>
Sun, 20 Sep 2020 15:27:30 +0000 (17:27 +0200)
committerRuben Beltran del Rio <redacted>
Sun, 20 Sep 2020 15:27:30 +0000 (17:27 +0200)
.gitlab-ci.yml [new file with mode: 0644]
CHANGELOG.md
package.json

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..cc95c38
--- /dev/null
@@ -0,0 +1,18 @@
+image: node:14
+
+stages:
+  - lint
+  - test
+
+before_script:
+    - npm install
+
+lint:
+  stage: lint
+  script:
+    - npm run lint
+
+test:
+  stage: test
+  script:
+    - npm test
index a2de74af932eeafe8b874d33be20c85b43cf3c9f..d6ccfc9d73cdb967567d207c99df0302b7ea65ea 100644 (file)
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [1.0.1] - 2020-09-20
+### Added
+- Gitlab CI config
+
 ## [1.0.0] - 2020-09-20
 ### Added
 - Functionality to execute graphs
index bf55d24562a5d5277e22495aac019732128a6f50..03a4d4ebeecbf15afb55cb8504799b03588061aa 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "grafn",
-  "version": "1.0.0",
+  "version": "1.0.1",
   "description": "Graph + Fn: Execute functions as a graph",
   "main": "lib/grafn",
   "scripts": {