File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 72
72
- run : npm ci
73
73
- run : npm run build
74
74
- run : npm test
75
+
76
+ build-melange :
77
+ strategy :
78
+ fail-fast : false
79
+ matrix :
80
+ os :
81
+ - ubuntu-latest
82
+ node-version :
83
+ - 16.x
84
+ ocaml-compiler :
85
+ - 4.14.x
86
+
87
+ runs-on : ${{ matrix.os }}
88
+
89
+ steps :
90
+ - uses : actions/checkout@v3
91
+
92
+ - name : Use Node.js ${{ matrix.node-version }}
93
+ uses : actions/setup-node@v3
94
+ with :
95
+ node-version : ${{ matrix.node-version }}
96
+ cache : ' npm'
97
+
98
+ - run : npm ci
99
+
100
+ - name : Use OCaml ${{ matrix.ocaml-compiler }}
101
+ uses : ocaml/setup-ocaml@v2
102
+ with :
103
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
104
+ opam-pin : false
105
+ opam-depext : false
106
+ cache-prefix : v2
107
+
108
+ - working-directory : js
109
+ run : |
110
+ opam pin -y -n melange-jest git+https://github.com/melange-community/melange-jest.git
111
+ opam pin -y -n melange-webapi git+https://github.com/melange-community/melange-webapi.git
112
+
113
+ - run : opam install ./decoders.opam ./melange-decoders.opam --with-test
114
+ - run : npx jest _build/default/__tests__
You can’t perform that action at this time.
0 commit comments