File tree 2 files changed +36
-55
lines changed
2 files changed +36
-55
lines changed Original file line number Diff line number Diff line change @@ -2,50 +2,50 @@ name: CI
2
2
3
3
on :
4
4
push :
5
- branches : [main,v2]
5
+ branches :
6
+ - main
7
+ - v2
6
8
pull_request :
7
- branches : [main,v2]
9
+ branches :
10
+ - main
11
+ - v2
8
12
workflow_dispatch :
9
13
10
14
jobs :
11
15
build-jsoo :
12
16
strategy :
13
17
fail-fast : false
14
18
matrix :
15
- os :
16
- - ubuntu-latest
17
- dotnet :
18
- - 6.0.x
19
- node-version :
20
- - 20.x
21
19
ocaml-compiler :
22
- - 4.08.x
23
- - 4.12.x
24
- - 4.14.x
25
- - 5.0.x
20
+ - " 4.08"
21
+ - " 4.12"
22
+ - " 4.14"
23
+ - " 5.0"
24
+ - " 5.1"
26
25
27
- runs-on : ${{ matrix.os }}
26
+ runs-on : ubuntu-latest
28
27
29
28
steps :
30
29
- name : Checkout code
31
30
uses : actions/checkout@v4
32
31
33
- - name : Use .NET ${{ matrix.dotnet }}
32
+ - name : Set-up .NET
34
33
uses : actions/setup-dotnet@v4
35
34
with :
36
- dotnet-version : ${{ matrix.dotnet }}
35
+ dotnet-version : 6.0.x
37
36
38
- - name : Use Node.js ${{ matrix.node-version }}
37
+ - name : Set-up Node.js
39
38
uses : actions/setup-node@v4
40
39
with :
41
- node-version : ${{ matrix.node-version }}
40
+ node-version : 22
42
41
cache : yarn
43
42
44
- - name : Use OCaml ${{ matrix.ocaml-compiler }}
43
+ - name : Set-up OCaml
45
44
uses : ocaml/setup-ocaml@v2
46
45
with :
47
46
ocaml-compiler : ${{ matrix.ocaml-compiler }}
48
47
dune-cache : true
48
+ allow-prerelease-opam : true
49
49
50
50
- name : Install .NET Dependencies
51
51
run : |
@@ -59,31 +59,21 @@ jobs:
59
59
run : bash fake TestJsoo
60
60
61
61
build-res :
62
- strategy :
63
- fail-fast : false
64
- matrix :
65
- os :
66
- - ubuntu-latest
67
- dotnet :
68
- - 6.0.x
69
- node-version :
70
- - 20.x
71
-
72
- runs-on : ${{ matrix.os }}
62
+ runs-on : ubuntu-latest
73
63
74
64
steps :
75
65
- name : Checkout code
76
66
uses : actions/checkout@v4
77
67
78
- - name : Use .NET ${{ matrix.dotnet }}
68
+ - name : Set-up .NET
79
69
uses : actions/setup-dotnet@v4
80
70
with :
81
- dotnet-version : ${{ matrix.dotnet }}
71
+ dotnet-version : 6.0.x
82
72
83
- - name : Use Node.js ${{ matrix.node-version }}
73
+ - name : Set-up Node.js
84
74
uses : actions/setup-node@v4
85
75
with :
86
- node-version : ${{ matrix.node-version }}
76
+ node-version : 22
87
77
cache : yarn
88
78
89
79
- name : Install .NET Dependencies
Original file line number Diff line number Diff line change @@ -2,48 +2,39 @@ name: Publish
2
2
3
3
on :
4
4
release :
5
- types : [published]
5
+ types :
6
+ - published
6
7
7
8
jobs :
8
9
build :
9
- strategy :
10
- fail-fast : false
11
- matrix :
12
- os :
13
- - ubuntu-latest
14
- dotnet :
15
- - 6.0.x
16
- node-version :
17
- - 20.x
18
- ocaml-compiler :
19
- - 5.0.x
20
-
21
- runs-on : ${{ matrix.os }}
10
+ runs-on : ubuntu-latest
22
11
23
12
steps :
24
13
- name : Checkout code
25
14
uses : actions/checkout@v4
26
15
27
- - name : Use .NET ${{ matrix.dotnet }}
16
+ - name : Set-up .NET
28
17
uses : actions/setup-dotnet@v4
29
18
with :
30
- dotnet-version : ${{ matrix.dotnet }}
19
+ dotnet-version : 6.0.x
31
20
32
- - name : Use Node.js ${{ matrix.node-version }}
21
+ - name : Set-up Node.js
33
22
uses : actions/setup-node@v4
34
23
with :
35
- node-version : ${{ matrix.node-version }}
24
+ node-version : 22
36
25
cache : yarn
37
26
38
- - name : Use OCaml ${{ matrix.ocaml-compiler }}
27
+ - name : Set-up OCaml
39
28
uses : ocaml/setup-ocaml@v2
40
29
with :
41
- ocaml-compiler : ${{ matrix.ocaml-compiler }}
30
+ ocaml-compiler : " 5.1 "
42
31
dune-cache : true
32
+ allow-prerelease-opam : true
43
33
44
34
- name : Install .NET Dependencies
45
- run : dotnet restore ts2ocaml.sln
46
- | dotnet tool restore
35
+ run : |
36
+ dotnet restore ts2ocaml.sln
37
+ dotnet tool restore
47
38
48
39
- name : Install OCaml Dependencies
49
40
run : opam install . --deps-only
You can’t perform that action at this time.
0 commit comments