fix: release pipeline
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2022-01-29 18:08:19 +01:00
parent aaffd5e682
commit 1d65f4b12a
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 7 additions and 6 deletions

View File

@ -7,15 +7,13 @@ trigger:
steps:
- name: build
image: node:11
image: node:16
pull: true
group: build-static
commands:
- yarn --production=false
- yarn clean
- yarn build
- yarn --frozen-lockfile
- yarn prod
- yarn release
- mv dist/*.tar.gz dist/vikunja-theme.tar.gz
- name: release
image: plugins/s3:1

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
node_modules/
static/css/*.css
dist/
yarn-error.log

View File

@ -9,7 +9,9 @@
},
"scripts": {
"prod": "tailwindcss -i src/style.css -o static/css/styles.css",
"watch": "tailwindcss -i src/style.css -o static/css/styles.css --watch"
"watch": "tailwindcss -i src/style.css -o static/css/styles.css --watch",
"clean": "rm -rf dist && mkdir dist",
"release": "tar -czvf dist/vikunja-theme.tar.gz archetypes layouts static LICENSE README.md theme.toml"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.0",