Skip to content

Commit

Permalink
Merge pull request #375 from RA80533/chore/refactor-yarn
Browse files Browse the repository at this point in the history
chore: use npm instead of Yarn in developer scripts
  • Loading branch information
thomasrockhu committed Jul 7, 2021
2 parents bd60ae8 + 8e28365 commit 129d2a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Lint
run: npm run lint
- name: Run tests and collect coverage
run: yarn run test
run: npm run test
- name: Upload coverage to Codecov (demo)
uses: ./
with:
Expand Down
6 changes: 0 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint src/*.*",
"test": "yarn run test-script && yarn run test-calculator && yarn run test-coverage",
"test": "npm run test-script && npm run test-calculator && npm run test-coverage",
"test-calculator": "jest --testPathPattern=demo/calculator/ --coverage --coverageDirectory=coverage/calculator",
"test-coverage": "jest --testPathPattern=demo/coverage-test/ --coverage --coverageDirectory=coverage/coverage-test",
"test-script": "jest --testPathPattern=src/ --coverage --coverageDirectory=coverage/script",
Expand Down Expand Up @@ -38,7 +38,6 @@
"jest": "^26.6.3",
"jest-junit": "^12.2.0",
"ts-jest": "^26.5.6",
"typescript": "^4.3.5",
"yarn": "^1.22.10"
"typescript": "^4.3.5"
}
}

0 comments on commit 129d2a4

Please sign in to comment.