Unverified Commit 2c8f9f8e authored by NGPixel's avatar NGPixel

ci: fix build

parent dadfae40
......@@ -46,13 +46,13 @@ jobs:
- name: Build Assets
working-directory: ux
run: |
pnpm install
pnpm install --frozen-lockfile --shamefully-hoist
pnpm build
- name: Build Blocks
working-directory: blocks
run: |
pnpm install
pnpm install --frozen-lockfile
pnpm build
- name: Login to GitHub Container Registry
......
......@@ -14,6 +14,8 @@ RUN mkdir -p /wiki && \
mkdir -p /logs && \
mkdir -p /wiki/data/content && \
chown -R node:node /wiki /logs
RUN corepack enable && \
corepack prepare pnpm@latest --activate
WORKDIR /wiki
......@@ -28,7 +30,7 @@ USER node
ENV NODE_ENV=production
WORKDIR /wiki/server
RUN npm ci --foreground-scripts --omit=dev --audit=false --fund=false
RUN pnpm install --prod --frozen-lockfile
WORKDIR /wiki
......
......@@ -2,4 +2,3 @@ audit = false
fund = false
save-exact = true
save-prefix = ""
shamefully-hoist = true
......@@ -90,8 +90,6 @@ module.exports = configure(function (ctx) {
distDir: '../assets',
extendViteConf (viteConf) {
viteConf.resolve.preserveSymlinks = true
if (ctx.prod) {
viteConf.build.assetsDir = '_assets'
viteConf.build.rollupOptions = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment