diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e5f36a..bc157e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run format:check + - run: npm run format:ci - run: npm run lint - run: npm run build - run: npm run test:cov diff --git a/package.json b/package.json index a47db2e..ae2738f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "prebuild": "rimraf lib", "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", - "format:check": "prettier --list-different \"src/**/*.ts\"", + "format:ci": "prettier --list-different \"src/**/*.ts\"", "lint": "eslint -c .eslintrc.json --ext .ts --max-warnings 0 src", "test": "jest", "test:watch": "jest --watch",