Skip to content

Commit 7cc2a1a

Browse files
committed
build!: migrate pnpm to npm
1 parent 1e3e0aa commit 7cc2a1a

5 files changed

Lines changed: 16856 additions & 9281 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ jobs:
2222
with:
2323
node-version: 20
2424

25-
- name: Pnpm
26-
uses: pnpm/action-setup@v2
27-
with:
28-
version: 8
29-
run_install: true
30-
3125
- name: ESLint
32-
run: pnpm run lint
26+
run: npm run lint
3327

3428
- name: Types
35-
run: pnpm run typecheck
29+
run: npm run typecheck

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
FROM node:20-alpine as build
22

3-
RUN corepack enable
4-
5-
RUN corepack prepare pnpm@latest --activate
6-
73
WORKDIR /app
84

95
COPY package.json /app
106

11-
RUN pnpm install
7+
RUN npm install
128

139
COPY . /app
1410

15-
RUN pnpm run build
11+
RUN npm run build
1612

1713
FROM gcr.io/distroless/nodejs20 as prod
1814

0 commit comments

Comments
 (0)