-
-
Notifications
You must be signed in to change notification settings - Fork 267
54 lines (40 loc) · 1.88 KB
/
bit.ci.Websites.yml
File metadata and controls
54 lines (40 loc) · 1.88 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
51
52
53
54
name: bit platform CI - Websites
on:
workflow_dispatch:
pull_request:
paths:
- 'src/Websites/**'
env:
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
jobs:
build-Websites:
if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true && startsWith(github.event.pull_request.title, 'Version') != true
name: build Bit.Websites
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@v6
- name: Setup .NET 10.0
uses: actions/setup-dotnet@v5
with:
global-json-file: src/global.json
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install wasm
run: cd src && dotnet workload install wasm-tools
- name: InstallNodejsDependencies for Careers
continue-on-error: true # Error MSB4057, not all csproj files have InstallNodejsDependencies target.
run: dotnet build src/Websites/Careers/Bit.Websites.Careers.slnx -t:InstallNodejsDependencies -m:1 -f net10.0
- name: InstallNodejsDependencies for Platform
continue-on-error: true # Error MSB4057, not all csproj files have InstallNodejsDependencies target.
run: dotnet build src/Websites/Platform/Bit.Websites.Platform.slnx -t:InstallNodejsDependencies -m:1 -f net10.0
- name: InstallNodejsDependencies for Sales
continue-on-error: true # Error MSB4057, not all csproj files have InstallNodejsDependencies target.
run: dotnet build src/Websites/Sales/Bit.Websites.Sales.slnx -t:InstallNodejsDependencies -m:1 -f net10.0
- name: Build Careers
run: dotnet build src/Websites/Careers/Bit.Websites.Careers.slnx
- name: Build Platform
run: dotnet build src/Websites/Platform/Bit.Websites.Platform.slnx
- name: Build Sales
run: dotnet build src/Websites/Sales/Bit.Websites.Sales.slnx