mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-22 19:41:20 +00:00
build: separate check
command to format
and lint
commands (#114)
This commit is contained in:
parent
fe060731ea
commit
c4d2902c63
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@ -29,8 +29,11 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Check Package
|
||||
run: yarn check
|
||||
- name: Check Format
|
||||
run: yarn format
|
||||
|
||||
- name: Check Lint
|
||||
run: yarn lint
|
||||
|
||||
- name: Bundle Package
|
||||
run: yarn bundle
|
||||
|
@ -4,7 +4,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"bundle": "tsc && ncc build dist/main.mjs -o main",
|
||||
"check": "prettier --write . !main !README.md && eslint --ignore-path .gitignore .",
|
||||
"format": "prettier --write . !main !README.md",
|
||||
"lint": "eslint --ignore-path .gitignore .",
|
||||
"test": "tsc && jest"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user