Skip to content

Commit

Permalink
ci: fix publish (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 9, 2024
1 parent 679af7f commit ee5f837
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ WORKDIR /usr/src/app/
# Copy project files
COPY . ./

RUN corepack enable && corepack install

# Fetch dependencies from npm
RUN pnpm install --frozen-lockfile --legacy-peer-deps
RUN pnpm install --frozen-lockfile

# Build assets
RUN npm run build
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"dist/geoip-country6.dat"
],
"targets": [
"node20-linuxstatic-x64",
"node20-linuxstatic-arm64",
"node20-macos-x64",
"node20-macos-arm64",
"node20-win-x64",
"node20-win-arm64"
"node18-linuxstatic-x64",
"node18-linuxstatic-arm64",
"node18-macos-x64",
"node18-macos-arm64",
"node18-win-x64",
"node18-win-arm64"
]
},
"scripts": {
Expand Down

0 comments on commit ee5f837

Please sign in to comment.