diff --git a/.github/workflows/nodejs-ci.yml b/.github/workflows/nodejs-ci.yml index 9d71110..a5d0bfa 100644 --- a/.github/workflows/nodejs-ci.yml +++ b/.github/workflows/nodejs-ci.yml @@ -14,13 +14,14 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 - cache: 'yarn' + cache: 'npm' - name: Install dependencies - run: yarn install + run: npm install - name: Run lint - run: yarn lint + run: npm run lint - name: Run tests - run: yarn test --silent + run: npm run test --silent + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b22849b..742c691 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,7 +64,7 @@ Add and commit: Commit your changes in logical chunks. Please do not push all changes in one commit. -> Run `yarn fix` before commiting for not having conflict with CI linter. +> Run `npm run fix` before commiting for not having conflict with CI linter. Please adhere to these [Commit message guidelines](#commit-message-guidelines) or your code is unlikely be merged into the main project. diff --git a/package.json b/package.json index 00ce85c..4dd22f4 100644 --- a/package.json +++ b/package.json @@ -38,9 +38,8 @@ "zod": "^3.22.4" }, "engines": { - "node": "18", - "yarn": ">=1.22", - "npm": "8.19.2" + "node": ">=18", + "npm": ">=8" }, "files": [ "build" @@ -68,7 +67,8 @@ "coverage": "jest --verbose --coverage", "fix:package": "fixpack", "lint": "gts lint", - "prepublish": "yarn build", + "prepublish": "npm run build", "test": "jest --verbose" } } +