Fix issues with gitlab not caching/artifacting the correct things
This commit is contained in:
parent
ef24b49744
commit
c964a58afd
@ -6,8 +6,8 @@ variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
OBJECTS_DIRECTORY: 'obj'
|
||||
NUGET_PACKAGES_DIRECTORY: '.nuget'
|
||||
SOURCE_CODE_PATH: 'ChaosBot/*/'
|
||||
NODE_MODULES_DIRECTORY: 'ChaosBot/wwwroot/node_modules'
|
||||
SOURCE_CODE_PATH: 'ChaosBot/'
|
||||
NODE_MODULES_DIRECTORY: 'wwwroot/node_modules'
|
||||
|
||||
stages:
|
||||
- version
|
||||
@ -30,7 +30,7 @@ cache:
|
||||
# 3) Path to the directory where restored dependencies are kept.
|
||||
- '$NUGET_PACKAGES_DIRECTORY'
|
||||
# 4) Path to node_modules
|
||||
- '$NODE_MODULES_DIRECTORY'
|
||||
- '$SOURCE_CODE_PATH$NODE_MODULES_DIRECTORY'
|
||||
#
|
||||
policy: pull-push
|
||||
|
||||
@ -129,7 +129,7 @@ tests_node:
|
||||
- 'yarn lint'
|
||||
artifacts:
|
||||
paths:
|
||||
- wwwroot/dist/
|
||||
- ChaosBot/wwwroot/dist/
|
||||
|
||||
release_node:
|
||||
image: node:latest
|
||||
@ -150,7 +150,7 @@ release_node:
|
||||
- 'yarn build'
|
||||
artifacts:
|
||||
paths:
|
||||
- wwwroot/dist/**
|
||||
- ChaosBot/wwwroot/dist/**
|
||||
|
||||
docker:
|
||||
image: docker:stable
|
||||
|
||||
Loading…
Reference in New Issue
Block a user