File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - uses : actions/setup-node@v3
16
+ with :
17
+ node-version : " lts/*"
18
+
19
+ - name : Setup PureScript dependencies
20
+ run :
npm i --global [email protected] spago@next purs-tidy
21
+
22
+ - name : Chech formatting
23
+ run : purs-tidy check src/
24
+
25
+ - name : Build source
26
+ run : |
27
+ spago build
28
+ spago bundle --bundle-type module --bundler-args '--external:gi://*'
29
+
30
+ - name : Cache PureScript dependencies
31
+ uses : actions/cache@v2
32
+ with :
33
+ key : ${{ runner.os }}-spago-${{ hashFiles('**/spago.yaml') }}
34
+ path : |
35
+ .spago
36
+ output
37
+
You can’t perform that action at this time.
0 commit comments