Skip to content

Commit

Permalink
ci: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Oct 22, 2023
1 parent dadfae4 commit 2c8f9f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion dev/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion ux/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ audit = false
fund = false
save-exact = true
save-prefix = ""
shamefully-hoist = true
2 changes: 0 additions & 2 deletions ux/quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2c8f9f8

Please sign in to comment.