Skip to content

Commit

Permalink
feat: pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
chihuo2104 committed May 2, 2024
1 parent 481af7e commit 8c66ffb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/eslint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
with:
node-version: '>=18.16.0'
check-latest: true
cache: yarn
cache: pnpm

- name: Install dependencies
run: |
yarn install --frozen-lockfile
pnpm i --frozen-lockfile
- name: Run ESLint
run: |
yarn lint
pnpm lint
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:lts-alpine3.15 as dist
COPY . /chiblog
WORKDIR /chiblog
RUN cd /chiblog && pnpm i && pnpm build
RUN cd /chiblog && npm install pnpm -g && pnpm i && pnpm build

FROM node:lts-alpine3.15 as production
WORKDIR /chiblog
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="./chiblog_bastyled.png" style="max-width:25%" alt="chiblog ba-styled icon"/>
![./chiblog_bastyled.png" style="max-width:20%" alt="chiblog ba-styled icon"/>

# chiblog

Expand Down

0 comments on commit 8c66ffb

Please sign in to comment.