-
Notifications
You must be signed in to change notification settings - Fork 26
50 lines (39 loc) · 1.04 KB
/
build.yml
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
name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ${{github.workspace}}/src/Passingwind.ElsaDesigner/node_modules
key: ${{ runner.os }}-yarn-cache
restore-keys: |
${{ runner.os }}-node
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: DotNet restore dependencies
run: dotnet restore Passingwind.WorkflowApp.sln
- name: DotNet build
run: dotnet build --no-restore -c Release Passingwind.WorkflowApp.sln
# - name: DotNet test
# run: dotnet test
- uses: actions/setup-node@v4
with:
node-version: "16"
- name: node yarn
run: |
cd ./src/Passingwind.ElsaDesigner
yarn
- name: npm build
run: |
cd ./src/Passingwind.ElsaDesigner
npm run build