Skip to content

Commit

Permalink
build!: migrate pnpm to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Dec 30, 2023
1 parent 1e3e0aa commit 7cc2a1a
Show file tree
Hide file tree
Showing 5 changed files with 16,856 additions and 9,281 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ jobs:
with:
node-version: 20

- name: Pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true

- name: ESLint
run: pnpm run lint
run: npm run lint

- name: Types
run: pnpm run typecheck
run: npm run typecheck
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM node:20-alpine as build

RUN corepack enable

RUN corepack prepare pnpm@latest --activate

WORKDIR /app

COPY package.json /app

RUN pnpm install
RUN npm install

COPY . /app

RUN pnpm run build
RUN npm run build

FROM gcr.io/distroless/nodejs20 as prod

Expand Down
Loading

0 comments on commit 7cc2a1a

Please sign in to comment.