-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
50 lines (46 loc) · 1.14 KB
/
.gitlab-ci.yml
File metadata and controls
50 lines (46 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
include:
- project: sequence/templates/cicd
file: .gitlab-ci.linux.yml
version check dev:
variables:
PROJECT_PATH: ./*/SCLEditor.Components.csproj
package react dev:
stage: package
extends:
- .default_before_script
- .rules_dev_manual
needs:
- build dev
- test dev
- version check dev
variables:
CONFIG: Release
NUGET_PROJECT_ID: $NUGET_PROJECT_ID_DEV
NUGET_USERNAME: $NUGET_USER_DEV
NUGET_TOKEN: $NUGET_TOKEN_DEV
script:
- dotnet workload install wasm-tools
- apt-get update && apt-get install python3 -y
- dotnet publish --configuration $CONFIG --output ./publish ./SCLEditor.React/SCLEditor.React.csproj
- mv ./publish/wwwroot/ ./scl-playground
artifacts:
name: 'scl-playground-react-$PROJECT_VERSION'
paths:
- './scl-playground'
expire_in: 7 days
package react release:
extends:
- package react dev
- .rules_release
needs:
- build release
- test release
- version check release
artifacts:
name: 'scl-playground-react-$PROJECT_VERSION'
paths:
- './scl-playground'
expire_in: never
mutation testing:
rules:
- when: never