diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1f1749..fa79403 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,4 +24,4 @@ jobs: - name: Install run: npm ci - name: CI - run: npm run ci + run: npm run test:ci diff --git a/.husky/pre-commit b/.husky/pre-commit index 6539adf..93a786b 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ npx npm-check-updates --enginesNode -npm run ci +npm run test:ci diff --git a/.husky/pre-push b/.husky/pre-push index 320512b..7e0b48d 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1 +1 @@ -npm run ci +npm run test:ci diff --git a/package.json b/package.json index 6edf542..6c7e198 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "type": "commonjs", "scripts": { "bundle": "rimraf dist && ncc build src/pre.js -o dist/pre && ncc build src/post.js -o dist/post && ncc build src/noop.js -o dist/noop", - "ci": "npm run lint && npm run format && npm test", + "test:ci": "npm run lint && npm run format && npm test", "lint": "eslint .", "format": "prettier --check .", "format:write": "prettier --write .",