Skip to content

Commit a805cbd

Browse files
committed
Fix script
1 parent bc5eb5d commit a805cbd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/Build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
- name: Check project can build successfully
2323
run: npm run build
2424
- name: Check git is still clean after building
25-
run: is-git-status-clean
25+
run: npm run has-no-changes
2626
- name: Check project linting
2727
run: npm run lint:check

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"lint:check": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore",
1414
"lint:fix": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore --fix",
1515
"test": "cypress run --headless",
16-
"test:ui": "cypress open"
16+
"test:ui": "cypress open",
17+
"has-no-changes": "is-git-status-clean"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)