Skip to content

Commit

Permalink
rename lint-test to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Oct 20, 2021
1 parent 2afe269 commit 9fde34f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -802,14 +802,14 @@ def yarnlint(ctx):
result = {
"kind": "pipeline",
"type": "docker",
"name": "lint-test",
"name": "lint",
"workspace": {
"base": dir["base"],
"path": config["app"],
},
"steps": restoreBuildArtifactCache(ctx, ".yarn", ".yarn") +
installYarn() +
lintTest(),
lint(),
"trigger": {
"ref": [
"refs/heads/master",
Expand Down Expand Up @@ -1608,9 +1608,9 @@ def installYarn():
],
}]

def lintTest():
def lint():
return [{
"name": "lint-test",
"name": "lint",
"image": OC_CI_NODEJS,
"commands": [
"yarn run lint",
Expand Down

0 comments on commit 9fde34f

Please sign in to comment.