Skip to content

Commit

Permalink
Merge pull request #25 from Green-Software-Foundation/rm-yarn
Browse files Browse the repository at this point in the history
replace yarn with npm across repo
  • Loading branch information
jmcook1186 authored Jan 15, 2024
2 parents c253e0b + 1a515be commit 74fe331
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
"zod": "^3.22.4"
},
"engines": {
"node": "18",
"yarn": ">=1.22",
"npm": "8.19.2"
"node": ">=18",
"npm": ">=8"
},
"files": [
"build"
Expand Down Expand Up @@ -68,7 +67,8 @@
"coverage": "jest --verbose --coverage",
"fix:package": "fixpack",
"lint": "gts lint",
"prepublish": "yarn build",
"prepublish": "npm run build",
"test": "jest --verbose"
}
}

0 comments on commit 74fe331

Please sign in to comment.