mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
ci: fix publish (#775)
This commit is contained in:
@@ -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
|
||||
|
||||
12
package.json
12
package.json
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user