Using npm not yarn
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Alessio Davoli 2023-12-12 18:59:49 +01:00
parent 0c631c7a36
commit 56303a9682
3 changed files with 2 additions and 4 deletions

2
.gitignore vendored
View file

@ -3,5 +3,3 @@ dist/
service-worker.build.js service-worker.build.js
.env .env
static/images/mockups static/images/mockups
.yarn/
bun.lockb

View file

@ -5,7 +5,7 @@ COPY package.json ./
COPY package-lock.json ./ COPY package-lock.json ./
RUN npm ci RUN npm ci
COPY . ./ COPY . ./
RUN yarn build RUN npm run build
FROM git.webdeploy.it/webdeploy/yarn FROM git.webdeploy.it/webdeploy/yarn

View file

@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"build": "vite build && yarn add-sigint", "build": "vite build && npm run add-sigint",
"add-sigint": "./add-sigint.sh", "add-sigint": "./add-sigint.sh",
"preview": "vite preview", "preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",