Skip to content

Commit

Permalink
Merge branch 'add-pipeline' into 'master'
Browse files Browse the repository at this point in the history
Add pipeline

See merge request shardus/shardus-crypto-utils!18
  • Loading branch information
kgmyatthu committed Apr 6, 2022
2 parents 03a08c7 + c9f279c commit a748051
Show file tree
Hide file tree
Showing 5 changed files with 1,696 additions and 1,442 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": [
"./node_modules/gts/"
],
"ignorePatterns": ["build/", "test/"]
}
14 changes: 14 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: node:16.11.1 #The enviornment which we need

stages: #Different stages which our pipeline need
- lint

before_script:
- npm install

lint: #Name of the job
stage: lint #Tells job which stage it is
script: #Scripts which need to be ran by the server
- npm run lint
- npm run check
- npm run compile
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"release": "np --no-tests --no-yarn",
"test": "echo \"Error: no test specified\" && exit 1",
"check": "gts check",
"lint": "gts lint",
"clean": "gts clean",
"compile": "tsc -p .",
"fix": "gts fix",
Expand Down
Loading

0 comments on commit a748051

Please sign in to comment.