mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
ci: fix publish (#775)
This commit is contained in:
@@ -20,8 +20,10 @@ WORKDIR /usr/src/app/
|
|||||||
# Copy project files
|
# Copy project files
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
|
RUN corepack enable && corepack install
|
||||||
|
|
||||||
# Fetch dependencies from npm
|
# Fetch dependencies from npm
|
||||||
RUN pnpm install --frozen-lockfile --legacy-peer-deps
|
RUN pnpm install --frozen-lockfile
|
||||||
|
|
||||||
# Build assets
|
# Build assets
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
12
package.json
12
package.json
@@ -40,12 +40,12 @@
|
|||||||
"dist/geoip-country6.dat"
|
"dist/geoip-country6.dat"
|
||||||
],
|
],
|
||||||
"targets": [
|
"targets": [
|
||||||
"node20-linuxstatic-x64",
|
"node18-linuxstatic-x64",
|
||||||
"node20-linuxstatic-arm64",
|
"node18-linuxstatic-arm64",
|
||||||
"node20-macos-x64",
|
"node18-macos-x64",
|
||||||
"node20-macos-arm64",
|
"node18-macos-arm64",
|
||||||
"node20-win-x64",
|
"node18-win-x64",
|
||||||
"node20-win-arm64"
|
"node18-win-arm64"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user