mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 03:49:07 +00:00
Feat: vite & upgraded dependencies (#100)
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
This commit is contained in:
21
.drone.yml
21
.drone.yml
@@ -25,7 +25,7 @@ steps:
|
||||
path: /cache
|
||||
|
||||
- name: Frontend install
|
||||
image: node:18.2.0
|
||||
image: node:24.13.1
|
||||
commands:
|
||||
- node -v
|
||||
- yarn --version
|
||||
@@ -42,8 +42,14 @@ steps:
|
||||
- name: cache
|
||||
path: /cache
|
||||
|
||||
- name: Lint project using eslint
|
||||
image: node:24.13.1
|
||||
commands:
|
||||
- yarn lint
|
||||
failure: ignore
|
||||
|
||||
- name: Frontend build
|
||||
image: node:18.2.0
|
||||
image: node:24.13.1
|
||||
commands:
|
||||
- yarn build
|
||||
environment:
|
||||
@@ -56,12 +62,6 @@ steps:
|
||||
SEASONED_DOMAIN:
|
||||
from_secret: SEASONED_DOMAIN
|
||||
|
||||
- name: Lint project using eslint
|
||||
image: node:18.2.0
|
||||
commands:
|
||||
- yarn lint
|
||||
failure: ignore
|
||||
|
||||
- name: Build and publish docker image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@@ -105,3 +105,8 @@ trigger:
|
||||
include:
|
||||
- push
|
||||
# - pull_request
|
||||
---
|
||||
kind: signature
|
||||
hmac: 6f10b2871d2bd6b5cd26ddf72796325991ba211ba1eb62b657baf993e9d549c8
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user