Skip to content

Commit

Permalink
chore: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
pipinet committed Sep 30, 2024
1 parent ef192ec commit 8b073cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION 0.8
ARG --global BASE_IMAGE=earthly/dind:alpine
ARG --global NODE_IMAGE=node:20.17.0
ARG --global NODE_IMAGE=node:20.17.0-alpine3.20

FROM ${BASE_IMAGE}
WORKDIR /app
Expand All @@ -19,19 +19,19 @@ build-base:
.npmrc \
.
RUN npm install -g pnpm@latest-9 --registry=https://registry.npmmirror.com
RUN pnpm fetch --dev
RUN pnpm fetch --frozen-lockfile --force --dev --registry=https://registry.npmmirror.com
SAVE ARTIFACT node_modules AS LOCAL node_modules

check:
FROM +build-base
COPY . .
RUN pnpm install -r --prefer-offline --dev
RUN pnpm install -r --frozen-lockfile --force --dev --registry=https://registry.npmmirror.com
RUN pnpm run build:check

release:
FROM +build-base
COPY . .
RUN pnpm install -r --prefer-offline --dev
RUN pnpm install -r --frozen-lockfile --force --dev --registry=https://registry.npmmirror.com
RUN pnpm version ${APP_VERSION} --no-commit-hooks --no-git-tag-version --allow-same-version
RUN pnpm run release

Check failure on line 36 in Earthfile

View workflow job for this annotation

GitHub Actions / commit

Error

The command RUN pnpm run release did not complete successfully. Exit code 1

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"bugs": {
"url": "https://github.com/qwlabs/dorami/issues"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20.17.0",
"pnpm": ">=9"
Expand Down

0 comments on commit 8b073cc

Please sign in to comment.