Skip to content

Commit

Permalink
Update package manager from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
renefs committed Feb 20, 2024
1 parent 8185628 commit 493085b
Show file tree
Hide file tree
Showing 7 changed files with 13,781 additions and 7,958 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache-dependency-path: client/yarn.lock
cache: npm
cache-dependency-path: client/package.lock.json
- name: Install Dependencies
run: |
cd client && yarn
cd client && npm ci
- name: Lint
run: |
cd client && yarn lint
cd client && npm run lint
- name: Run Tests
run: |
cd client && yarn test --coverage
cd client && npm test --coverage
- name: Upload coverage
uses: codecov/codecov-action@v1
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"name": "Run Vite: React",
"type": "node",
"request": "launch",
"runtimeExecutable": "yarn",
"runtimeExecutable": "npm",
"runtimeArgs": ["start"],
"cwd": "${workspaceRoot}/client",
"console": "integratedTerminal"
Expand Down
4 changes: 2 additions & 2 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
To begin the development, run `npm start` or `npm start`.
To create a production bundle, use `npm run build` or `npm run build`.
-->
</body>
</html>
Loading

0 comments on commit 493085b

Please sign in to comment.