Skip to content

Commit 1aa5e8d

Browse files
committed
[dx] use yarn commands instead npm in release flow
1 parent cefc56a commit 1aa5e8d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ENV VITE_APP_MODE=production
1616

1717
RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" package.json
1818

19-
RUN npm install --ignore-scripts
20-
RUN npm run generate
19+
RUN yarn install --ignore-scripts
20+
RUN yarn generate
2121
RUN rm -rf node_modules
2222

2323
LABEL org.opencontainers.image.source=$REPOSITORY

.github/workflows/release-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 22.x
18-
cache: 'npm'
18+
cache: 'yarn'
1919
- run: yarn install
2020
- run: yarn generate
2121

.github/workflows/test-build-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ matrix.node-version }}
26-
cache: 'npm'
26+
cache: 'yarn'
2727
- run: yarn install
2828
- run: yarn lint
2929
- run: yarn test

0 commit comments

Comments
 (0)