fix: release pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
aaffd5e682
commit
1d65f4b12a
|
@ -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
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
node_modules/
|
||||
static/css/*.css
|
||||
dist/
|
||||
yarn-error.log
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue