mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:39:08 +00:00
Set $NODE_ENV according to the image purpose during Docker build (#1088)
* Set $NODE_ENV according to the image purpose during Docker build * Move `husky` from dev-deps to prod-deps, as it is used during prod `npm ci` --------- Co-authored-by: Konstantin Koval <kkb@ukr.net>
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -105,6 +105,8 @@ jobs:
|
||||
tags: photoview/ui
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
build-args: |
|
||||
NODE_ENV=testing
|
||||
|
||||
- name: Test
|
||||
id: test
|
||||
|
||||
Reference in New Issue
Block a user