Skip to content

Commit

Permalink
Change general package install manager to yarn (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickol34 authored Oct 11, 2024
1 parent 015a887 commit 2221791
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with:
node-version: '12.x'
- name: install dependencies
run: npm install
run: yarn install
- name: build
run: npm build
test_unit:
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker/dev.frontend.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ FROM node:18 AS build
RUN npm install -g serve
COPY src/mqueryfront /app
WORKDIR /app
RUN npm install --legacy-peer-deps
RUN yarn install --legacy-peer-deps
CMD ["npm", "start"]
2 changes: 1 addition & 1 deletion deploy/docker/web.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:18 AS build
RUN npm install -g serve
COPY src/mqueryfront /app
WORKDIR /app
RUN npm install --legacy-peer-deps && npm run build
RUN yarn install --legacy-peer-deps && npm run build

FROM python:3.10

Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/install-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ we can start a web server.

```shell
cd /opt/mquery/src/mqueryfront
npm install --legacy-peer-deps
yarn install --legacy-peer-deps
npm run build
```

Expand Down

0 comments on commit 2221791

Please sign in to comment.